日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

python大神写的代码_初学Python,只会写简单的代码。手头有份Python代码,但是调用C模块生成的.pxd和.pyx文件,运行过程总报错,希望大神指点,调试前该做哪些工作呢?...

發布時間:2025/4/5 55 豆豆

報錯內容如下:

Traceback (most recent call last):

File "E:\Python27\setup.py", line 16, in

from setuptools import setup, find_packages

ImportError: No module named setuptools

我在調試之前,做了以下相關的安裝:

[Cython](www.cython.org). Runtime requirements are the

Python packages [numpy](www.numpy.org), [scipy](www.scipy.org),

[dateutil](https://labix.org/python-dateutil), [sqlalchemy](www.sqlalchemy.org),

[sympy](http://sympy.org) and [jinja2](http://jinja.pocoo.org). The setup.py script described below

will pull these requirements automatically, but depending on your OS you might favor to install

them using your system's package manager.

Some of the decoder implementations require additional software, namely

[GLPK](http://www.gnu.org/software/glpk/) (with C headers),

[IBM CPLEX](http://www.ibm.com/software/commerce/optimization/cplex-optimizer/), and

[Gurobi](http://gurobi.com). The first is open source, the others have free academic licenses

available.

We use the alternative gurobi python API called [gurobimh](https://github.com/supermihi/gurobimh).

有哪位大神指點,感激不盡!!

總結

以上是生活随笔為你收集整理的python大神写的代码_初学Python,只会写简单的代码。手头有份Python代码,但是调用C模块生成的.pxd和.pyx文件,运行过程总报错,希望大神指点,调试前该做哪些工作呢?...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。