Skip to content
" Package operation failed" on installing
Profile icon

I am trying to create a simple discord bot. I have tried importing it via the packages window, which gives the error " Package operation failed" and no other message. Adding it through requirements.txt does nothing. What else can I do?

You are viewing a single comment. View All
Profile icon

nope, same error message:
Traceback (most recent call last):
File "", line 3, in
import discord
ModuleNotFoundError: No module named 'discord

It's a problem with installing the package, I think, not the imports I'm using, so I don't understand why adding an import would help.