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

报错内容如下:

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).

有哪位大神指点,感激不尽!!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值