#πŸ”’ pygame is not installing

49 messages Β· Page 1 of 1 (latest)

languid arrowBOT
#

@gilded mason

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.

gilded mason
#

when i try to install pygame it will not work it gives me this error

#

please help

lament goblet
#

what command did you use to install pygame

gilded mason
#

pip install pygame

#

is this the right thing?

sacred shale
#

yes

#

Python\Python313\Lib\site

lament goblet
#

yes it is

gilded mason
#

ok then why it give me this error

sacred shale
#

you installed python 3.13?

lament goblet
#

try using a venv

gilded mason
#

whats that

#

and how do i use it

lament goblet
#

virtual environment

sacred shale
lament goblet
gilded mason
#

because iam was trying to run something it needed 3 things

sacred shale
#

you sure? the error shows a path o a Python313 folder

gilded mason
#

but one installed fineπŸ’€

sacred shale
#

what does pip -V output?

gilded mason
#

pip 24.0 from C:\Users\Sohaib jebreel\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip (python 3.13)

lament goblet
#

it is 3.13 indeed

gilded mason
#

so?

#

what do i have to do

sacred shale
#

then that's too new. uninstall it. you can find it in you windows settings -> apps or something

lament goblet
#

you can install a older version i would say 3.11 would be fine

gilded mason
#

i delete 3.13 or 3.8?

#

i have two of these

lament goblet
#

you dont need to delete

#

just install a newer version and you can set the alias to that

gilded mason
#

do i install 3.11?

sacred shale
#

3.13 is too new. pygame won't work with that version

lament goblet
#

or simply use python<version>

sacred shale
#

(you should maybe even remove all and just install python 3.12 )

sacred shale
lament goblet
gilded mason
#

iam uninstalling them rn

#

but guys

#

there is some things i wan to install to run my thing

#

here are them

#

pygame==2.5.2
PyMsgBox==1.0.9
pywin32==306

#

pymsgbox is already installed

#

but the pywin32 is so hard to install it

#

nvm

#

thanks

languid arrowBOT
#
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.