PermissionError: Permission denied: '/usr/lib/python3/dist- packages/chardet' -> '/tmp/pip-kssx4kah-uninstall/usr/lib/python3/dist- packages/chardet'ĭuring handling of the above exception, another exception occurred:įile "/usr/local/lib/python3.6/dist-packages/pip/basecommand.py", line 215, in mainįile "/usr/local/lib/python3.6/dist-packages/pip/commands/install.py", line 342, in runįile "/usr/local/lib/python3.6/dist-packages/pip/req/req_set.py", line 778, in installįile "/usr/local/lib/python3.6/dist-packages/pip/req/req_install.py", line 754, in uninstallįile "/usr/local/lib/python3.6/dist-packages/pip/req/req_uninstall.py", line 115, in removeįile "/usr/local/lib/python3.6/dist-packages/pip/utils/_init_.py", line 267, in renamesįile "/usr/lib/python3.6/shutil.py", line 556, in moveįile "/usr/lib/python3.6/shutil.py", line 480, in rmtreeįile "/usr/lib/python3.6/shutil.py", line 438, in _rmtree_safe_fd Installing collected packages: chardet, multidict, async-timeout, aiohttp, websockets, discord.pyįound existing installation: chardet 2.3.0įile "/usr/lib/python3.6/shutil.py", line 544, in move Using cached async_timeout-1.3.0-p圓-none-any.whl Using cached multidict-3.1.3-cp36-cp36m-manylinux1_x86_64.whlĬollecting async-timeout (from aiohttp=1.0.0->discord.py) Using cached chardet-3.0.4-py2.p圓-none-any.whlĬollecting multidict>=2.0 (from aiohttp=1.0.0->discord.py) Using cached websockets-3.4-cp36-cp36m-manylinux1_x86_64.whlĬollecting chardet (from aiohttp=1.0.0->discord.py) Collecting discord.pyĬollecting aiohttp=1.0.0 (from discord.py)Ĭollecting websockets=3.1 (from discord.py) I managed to install Python 3.6 following this guide:Īnd I installed pip following the answer that was found on this stack overflow thread:Įverything worked like a charm, however, when I try to install the discord.py module using python3.6 -m pip install -U discord.py, I am thrown a permission error on everything it tries to install. I just switched my OS to Ubuntu 16.04 (first time ever using linux).
0 Comments
Leave a Reply. |