Reputation: 39
After installing discord.py from the command: -
python3 -m pip install -U discord.py
I cannot access or use the discord library from within any python programs. Is there something else that I have to do first?
Basically it finds an error when importing discord via "import discord".
Thank you
Upvotes: 3
Views: 3407
Reputation: 42
This is a simple problem.
Check these things then come back:
Did you edit your enviromental variable to support pip
?
Did you install discord.py through pip
?
Are you using the correct version of Python? See this for supported versions
Please read the discord.py docs if you have any other issues.
Thank you.
Upvotes: 1
Reputation: 122
1.reinstall python
2.try another thing to put into the cmd thingy
3.Are you running it as admin?
4.Just run the bot... it might work anyway.
Upvotes: 1