python – ModuleNotFoundError: No module named discord
python – ModuleNotFoundError: No module named discord
sudo pip install discord.py
solves the problem
Go into the terminal and use: pip uninstall discord.py
wait a few seconds so it can fully delete it, and then use pip install discord.py
. Should work
python – ModuleNotFoundError: No module named discord
Maybe its the Python version issue.
When I tried running in python3.8 I got the same error. Switched over to 3.6 and it worked.
Related posts on python :
- TypeError: iteration over a 0-d array Python
- python – How do I visualize a net in Pytorch?
- python – Max retries exceeded with URL in requests
- python – TypeError: int object does not support item assignment
- Send automated messages to Microsoft Teams using Python
- python – TypeError: can only concatenate list (not str) to list
- python – Trying to run Flask app gives Address already in use
- pandas – Python: Convert timedelta to int in a dataframe
- python – TypeError: expected a character buffer object