ModuleNotFoundError: No module named ‘discord’

Trying to run my .py file from CMD, but it can’t find the discord module

>>File 'C:\Users\\****\Desktop\Discord_Bot\main.py', line 1, in module

>>import discord 

>>ModuleNotFoundError: No module named 'discord'

Although, when I run:

>>python 

>>import discord

It works as intended, any suggestions?

Leave a Comment