所以,我目前正在尝试安装此软件包:
pip install git+https://github.com/Rapptz/discord.py@async
Github在这里:https://github.com/Rapptz/discord.py
但是我收到了这个错误:
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-khtOce/aiohttp/setup.py", line 61, in <module>
raise RuntimeError("aiohttp requires Python 3.4.1+")
RuntimeError: aiohttp requires Python 3.4.1+
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-khtOce/aiohttp/
所以相反我尝试使用pip3安装相同的软件包,但我目前遇到的版本冲突我不知道如何解决。
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 9, in <module>
load_entry_point('pip==8.1.1', 'console_scripts', 'pip3')()
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14- py2.7.egg/pkg_resources.py", line 305, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2243, in load_entry_point
raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('console_scripts', 'pip3') not found
我记得昨天这样做了,我可能已经玩弄了安装和重新安装pip,但之前,当我尝试在pip3工作时安装相同的软件包时,我仍然记得得到同样的错误,所以如果解决版本的idk冲突会做很多事情。
答案 0 :(得分:0)
我认为你在这里有一个setuptools冲突,可能会通过更新setuptools来解决。
尝试:
pip install setuptools --upgrade
您可以删除以前的setuptools安装,以防它出现问题。