I'm sorry that this has already been asked, but I have not found anything helpful.
I am trying to create a discord bot and am following YouTube videos.
When I try to run my code, I keep getting the error:
ModuleNotFoundError: No module named 'discord'
despite having installed discord and discord.py.
I checked where it has been asked before and some people have said that using older Python versions makes it work, but newer ones don't. Why not? How can I use an older Python version without ruining the latest one?
Thank you in advance.
this happened to me and none of my modules worked.
uninstall python and then reinstall it; so that it is updated.
ModuleNotFoundError: No module named 'discord' / how to switch python versions