Хочу установить discord.py на ubuntu 14.04, появляется ошибка
Хочу установить discord.py на ubuntu 14.04, появляется ошибка:
python3 -m pip install -U discord.py
Downloading/unpacking discord.py
Downloading discord.py-1.3.3-py3-none-any.whl (676kB): 676kB downloaded
Downloading/unpacking aiohttp>=3.6.0,<3.7.0 (from discord.py)
Downloading aiohttp-3.6.2-py3-none-any.whl (441kB): 441kB downloaded
Downloading/unpacking websockets>=6.0,!=7.0,!=8.0,!=8.0.1,<9.0 (from discord.py)
Downloading websockets-8.1.tar.gz (58kB): 58kB downloaded
Running setup.py (path:/tmp/pip_build_root/websockets/setup.py) egg_info for package websockets
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/websockets/setup.py", line 12, in <module>
long_description = (root_dir / 'README.rst').read_text(encoding='utf-8')
AttributeError: 'PosixPath' object has no attribute 'read_text'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/websockets/setup.py", line 12, in <module>
long_description = (root_dir / 'README.rst').read_text(encoding='utf-8')
AttributeError: 'PosixPath' object has no attribute 'read_text'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/websockets
Storing debug log for failure in /root/.pip/pip.log
root@69336:~#