Program can't find discord.py despite it being installed. How can I fix this?

Viewed 31

I know there are questions like this on here already but none of the answers actually worked. I use the command pip install discord , it installs successfully, I hop onto my program (Very basic bot stuff. I'm new to this) run it, and it can't find the discord module. I know it's installed, I just don't why it can't find it.

Traceback (most recent call last):
File "C:\Users\myuser\OneDrive\Desktop\bot.py", line 4, in <module>
import discord.abc
ModuleNotFoundError: No module named 'discord'

that's the exact error message if needed.

1 Answers

Try using :

pip install discord.py
Related