Im trying to run a script on a AWS EC2 Windows 2019 instance but its not running even tho the library is installed. The lib in question is "discord-py-slash-command" but other libs like requests install and run normally (they are imported earlier in the file)
I tried pip install discord-py-slash-command I tried python -m pip install discord-py-slash-command all successfully install the library but the script doesnt recognize it. I also reinstalled Python with all extra add-ons and I still have no idea what to do next
Please check your Interpreter again. Your project interpreter may be not the python version that you Installed.
In Pycharm, you can simply check it by pressing Ctrl+Alt+S > Project > Python Interpreter
Python not recognizing an installed library?