pip安装wsgiref报错"Command python setup.py egg_info failed"
pip安装wsgiref报错"Command python setup.py egg_info failed with error code 1 in /Users/agdragon/.pyenv/versions/3.4.2/envs/homerenter/build/wsgiref"
详细:
(homerenter) agdragondeMacBook-Pro:homerenter agdragon$ pip install wsgiref==0.1.2
Downloading/unpacking wsgiref==0.1.2
Downloading wsgiref-0.1.2.zip
Running setup.py (path:/Users/agdragon/.pyenv/versions/3.4.2/envs/homerenter/build/wsgiref/setup.py) egg_info for package wsgiref
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/Users/agdragon/.pyenv/versions/3.4.2/envs/homerenter/build/wsgiref/setup.py", line 5, in <module>
import ez_setup
File "/Users/agdragon/.pyenv/versions/3.4.2/envs/homerenter/build/wsgiref/ez_setup/__init__.py", line 170
print "Setuptools version",version,"or greater has been installed."
^
SyntaxError: Missing parentheses in call to 'print'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/Users/agdragon/.pyenv/versions/3.4.2/envs/homerenter/build/wsgiref/setup.py", line 5, in <module>
import ez_setup
File "/Users/agdragon/.pyenv/versions/3.4.2/envs/homerenter/build/wsgiref/ez_setup/__init__.py", line 170
print "Setuptools version",version,"or greater has been installed."
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /Users/agdragon/.pyenv/versions/3.4.2/envs/homerenter/build/wsgiref
Storing debug log for failure in /Users/agdragon/.pip/pip.log
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你在darwin系统内的python 用的是python3 ,但安装代码用的是python2,所以,如果你要修改一点小代码。