正如标题所述,当我尝试安装discord.py时,无论我使用哪个版本,我的操作系统都是Ubuntu 19,它都给我错误
viktor@viktor-X541NC:~$ pip install discord.py==0.16.12
Collecting discord.py==0.16.12
Using cached https://files.pythonhosted.org/packages/97/3c/2a97b47fd8839f8863241857bbd6a3998d1de1662b788c8d9322e5a40901/discord.py-0.16.12.tar.gz
Collecting aiohttp<1.1.0,>=1.0.0 (from discord.py==0.16.12)
Using cached https://files.pythonhosted.org/packages/09/5a/7b81ea8729d41f44c6fe6a116e466c8fb884950a0061aa3768dbd6bee2f8/aiohttp-1.0.5.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-install-asBsLL/aiohttp/setup.py", line 60, in <module>
raise RuntimeError("aiohttp requires Python 3.4.2+")
RuntimeError: aiohttp requires Python 3.4.2+
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-asBsLL/aiohttp/
答案 0 :(得分:0)
如果我错了,请纠正我,但是第10行显示raise RuntimeError("aiohttp requires Python 3.4.2+")
这是什么意思?
您没有安装python,或者,如果已安装,则版本不是3.4.2 +。