当我试图安装不和谐.py它给了我

2024-04-19 22:20:22 发布

您现在位置:Python中文网/ 问答频道 /正文

正如标题所说,当我试图安装不和谐.py不管我使用哪个版本,它都会给我错误。我的操作系统也是ubuntu19

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/

Tags: installpipinpyhttpsorgaiohttpsetup