我正在尝试安装saga-python (用于SAGA GIS的软件包),cmd python一直返回相同的错误: C:\Users\MyUser\AppData\Local\Temp\pip-build-7uieglh9\saga-python.中的python setup.py egg_info失败,代码为1你知道为什么会这样吗?
此外,我还尝试了这个问题的答案中的一些提示:Python pip install gives "Command "python setup.py egg_info" failed with error code 1"也不能工作。
版本是3.5.2,setuptools和ez_setup都可以。我也尝试过使用easy_install。也没有结果,表示语法无效。
我还尝试了virtualenv和http://docs.python-guide.org/en/latest/dev/virtualenvs/。错误是由两个不同的Python版本引起的: 2.7和3.5.2。我不能卸载2.7 (一些GIS软件的shell),但我需要以某种方式让它工作。
发布于 2016-09-09 05:27:27
此包仅适用于Python2.x。请参阅issue
https://stackoverflow.com/questions/39400423
复制相似问题