Andrew Godfrey
Andrew Godfrey

Reputation: 39

Discord.py not working after installing

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

Answers (2)

Julian Ellis
Julian Ellis

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

tristan360
tristan360

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

Related Questions