日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > python >内容正文

python

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

發布時間:2025/4/5 python 34 豆豆

報錯內容如下:

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文件,运行过程总报错,希望大神指点,调试前该做哪些工作呢?...的全部內容,希望文章能夠幫你解決所遇到的問題。

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