I'm creating a discord bot, but when I try to import discord
, I am getting this error:
Traceback (most recent call last):File "C:\Users\Someone\Desktop\Discord bot\bot.py", line 2, in <module>import discord
ModuleNotFoundError: No module named 'discord'
[Finished in 0.5s]
I opened a terminal ctrl + ~ and typed:
pip install discord.py
And I have got this error:
File "<string>", line 1pip install discord.py^
SyntaxError: invalid syntax
Can anyone help me?