#Module error
41 messages · Page 1 of 1 (latest)
How are you running the bot?
you mean with what command?
might be that your pip is installing the package for a different python version than the one you're using to run the bot
e.g. pip points to 3.12 by default but python points to 3.13 or something
i typ pyton3 and than the name of my file
i will try it thanks.
now i get an error saying 'cannot import name 'InputText' from 'discord.ui' 'what can be the problem of that error?
did you chatgpt that code lol
no, why?
i watched a youtube video 🙂
but on the video he doesn't have does problems
Might be a version thing since that was introduced in 2.0
What version did you install?
idk i just installed visuel studio code today. so i guess the newest version
Those sound like pip and python versions
We mostly care about the discord.py version
3.7.4 is that possibly the discord.py one
sounds unlikely
this is what the terminal says
how can i find what version of discord.py i'm using?
python3 -m pip show discord.py should work
i'm using the 2.4.0 version
what does the code look like here?
package not found.
I'd guess your issue is similar to https://github.com/Rapptz/discord.py/issues/9169 aka having some other package installed that shadows their name
Summary Unable to import 'handle_message_parameters' when running main.py with line "import discord" Reproduction Steps Installed Python 3.9 on my Linux Root Server Installed disc...
how can i know what packages are 3rd party add-ons?
Idk I'd probably python3 -m pip list and then check for stuff called cord or something
nothing called cord