Edit: Got it solved! Thanks to @Raz Kissos for much help and having patience with me, and others who answered! I am new to stackOverflow, any moderators may lock this thread if that is a thing, as I could not find it.
I am trying to install the discord.py library, but as doing so, i recieve this:
Collecting discord.py
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)
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-build-_J7Ije/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-build-_J7Ije/aiohttp/
This happened when I used this command:
pip install -U discord.py
This in on a raspberry pi 3B+, using Raspbian OS. If there is more information needed, I will provide :) Thanks in advance!
Try:
pip install --upgrade setuptools wheel
pip install -U discord.py
If that does not work:
pip3 install -U discord.py
Since the error specifies you do not use the correct python version, you should try checking if you have the required python version installed. If you do and it still shows this error, perhaps you have multiple python installations on your machine. there is no need to worry, just specify which python interpreter you want to use:
<python interpreter> -m pip install <module name> --user
For example:
python3.8 -m pip install discord.py --user
This will add the discord.py module only to the python3.8 interpreter so make sure to use it for running the code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With