#๐Ÿ”’ Python not running main.py file

53 messages ยท Page 1 of 1 (latest)

heady atlas
#

Hello, im having trouble actually using my discord code and running it.

stray pulsarBOT
#

@heady atlas

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

heady atlas
static atlas
heady atlas
#

this is the code.

#

Do you see any issues?

#

@static atlas

#

:/

#

Up

#

Up

cedar halo
#

What's your python version?

heady atlas
#

12.8

#

Itโ€™s the stable version too

cedar halo
#

Can you run

py --version
cedar halo
heady atlas
#

See I donโ€™t know whatโ€™s going on with the system

#

It would do this before I installed audioop

#

@cedar halo

cedar halo
#

I once had a situation where different commands had different versions

py 3.10
python 3.12
python3 3.11
#

It's not python!

cedar halo
heady atlas
#

okay. Thanks for trying though.

#

Up

cedar halo
#

I could try to run it later

cedar halo
#

Up

heady atlas
#

Oh.

#

๐Ÿ˜…

cedar halo
#

Not in this server at least

#

You can do it for the post to not close tho

#

Because after 1h it automatically closes

heady atlas
#

Okay. Iโ€™ll probably close it and make a nee one

cedar halo
heady atlas
#

oh ok

regal flume
cedar halo
#

i dont think its the problem of the code @heady atlas

#

only thing i changed is that i loaded the token from .env

heady atlas
#

ya

#

im using a school pc and it works fine

cedar halo
#

can you trypy --version or use python filename.py instead of py

winged mortar
# heady atlas

Audioop error means this one was run with python 3.13

Not the version 3.12.8 you mentioned earlier

#

Meaning you have at least 3.13 and 3.12 installed. Maybe more

heady atlas
#

Okay.

cedar halo
heady atlas
#

yep

#

i am using a different pc

#

kinda avoiding it is a better way to explain it.

cedar halo
#

Damn

stray pulsarBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.