官方文档https://scikits.appspot.com/statsmodels说:"scikits.statsmodels已经移植并测试了Python3.2。“但我明白:
$ pip install scikits.statsmodels
Collecting scikits.statsmodels
Using cached scikits.statsmodels-0.3.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-dbu7u2oo/scikits.statsmodels/setup.py", line 96
print "debug import success GIT_REVISION", GIT_REVISION
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-dbu7u2oo/scikits.statsmodels/我怎么才能解决这个问题?
发布于 2017-04-06 12:33:18
正如PyPI页面 for scikits.statsmodels所说:
scikits.statsmodels的名称已更改为statsmodel,新版本位于http://pypi.python.org/pypi/statsmodels。
所以试试
pip install statsmodelsFWIW --我经常在3.6中使用状态模型,所以我对它的工作非常乐观。:-)
https://stackoverflow.com/questions/43255148
复制相似问题