![](/img/trans.png)
[英]How do I install any package with pip when i keep getting the same error?
[英]How do I fix this error I'm getting when I try to install this package with pip install?
我是Python的新手,我一直在尝试在计算机上启动Discord机器人,但是每当我尝试安装sudo pip install discord.py时,都会出现以下错误:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-QOFKFs/aiohttp/setup.py", line 60, in <module>
raise RuntimeError("aiohttp requires Python 3.4.2+")
RuntimeError: aiohttp requires Python 3.4.2+
我正在运行Linux Mint 18.2,并且我几乎100%肯定我拥有最新的Python和Pip。
您是否检查过python3和python版本的pip确实是pip? 您可以将pip用于python2。 喜欢这个连结
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.