我使用的是Ubuntu14.04,系统中安装了Python2.7和3.4。我试图用pip安装python的unirest。但它返回以下错误。在
>> [sudo] pip install unirest
Collecting unirest
Using cached Unirest-1.1.7.tar.gz
Collecting poster>=0.8.1 (from unirest)
Using cached poster-0.8.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-7ur_3q0v/poster/setup.py", line 2, in <module>
import poster
File "/tmp/pip-build-7ur_3q0v/poster/poster/__init__.py", line 29, in <module>
import poster.streaminghttp
File "/tmp/pip-build-7ur_3q0v/poster/poster/streaminghttp.py", line 61
print "send:", repr(value)
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7ur_3q0v/poster/
>>
我也在这里尝试了解决方案“pip fails to install anything, error: invalid command 'egg_info'”,但它没有起作用。在
请帮忙
目前没有回答
相关问题 更多 >
编程相关推荐