程序员最近都爱上了这个网站  程序员们快来瞅瞅吧!  it98k网:it98k.com

本站消息

站长简介/公众号

  出租广告位,需要合作请联系站长

+关注
已关注

分类  

pandas(0)

flask(0)

标签  

pandas(0)

flask(0)

日期归档  

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

发布于2019-09-05 15:17     阅读(918)     评论(0)     点赞(20)     收藏(3)


报错内容如下:

Traceback (most recent call last):
  File "E:\Python27\setup.py", line 16, in <module>
    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).

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



所属网站分类: 技术文章 > 博客

作者:爱丽丝

链接:https://www.pythonheidong.com/blog/article/92976/c633969501c5d4d8bde2/

来源:python黑洞网

任何形式的转载都请注明出处,如有侵权 一经发现 必将追究其法律责任

20 0
收藏该文
已收藏

评论内容:(最多支持255个字符)