python - 当我尝试安装 discord.py 它给了我错误
问题描述
正如标题所说,当我尝试安装 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/
解决方案
如果我错了,请纠正我,但第 10 行显示raise RuntimeError("aiohttp requires Python 3.4.2+")
这是什么意思?
你没有安装python,或者,如果安装了,版本不是3.4.2+。
推荐阅读
- javascript - 拆分一个 JS 字符串,然后将其值分组到一个对象中
- c# - .NET CORE webapp 在 Windows NLB 的 IIS 上回收后的大量 close_wait
- elasticsearch - 需要澄清 Logstash 配置中使用的 sql_last_value
- reactjs - 失败的道具类型:FocusZone:道具类型`as`无效;它必须是一个函数,通常来自 `prop-types` 包,但收到了 `undefined`
- python - 仅删除连续的特殊字符,但保留连续的 [a-zA-Z0-9] 和单个字符
- java - 即使在 executor.shutdownNow() 之后如何运行 Spring Boot 调度程序;语句执行
- php - 别名在php中不存在的类名
- python - 检索列表中列的所有元素
- python-3.x - 如何将 pytorch 指定为 Windows 上的软件包要求?
- python-3.x - 从材料粒子的图片中测量气泡的大小 - Python-OPenCV