报错内容如下:
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).
有哪位大神指点,感激不尽!!
错误好像是你没有安装 <spanstyle="font-family:方正悠黑,Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">setuptools这个模块。用pip安装或者你搜一下怎么安装要么没安装上;要么安装了,但路径没添加到PYTHONPATH中
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。