Python Forum
Pygame 2 on Raspberry Buster
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pygame 2 on Raspberry Buster
#1
Question 
Hello,

I want to install Pygame 2 on a Raspberry Buster. I am using OS version 5.10.11.

It seems that I need to update SDL to be compatible with Pygame 2.

Does anyone know the process for updating the Raspberry to make Pygame 2 work?

Many thanks in advance
Reply
#2
see: https://forums.raspberrypi.com/viewtopic.php?t=250001
Reply
#3
Thanks ! I will test it
Reply
#4
Hi,

Finally I have installed SDL2 with :
sudo apt-get install git curl libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0 libsdl2-ttf-2.0-0
then Pygame using :
python3 -m pip install pygame
which gave me a Pygame 2.1.5 version

It runs, but the result is terribly terribly slow. I try some optimisation on my code which do not change anything.

I don't know if it is due to Pygame 2 or to SDL2, but one of these is not designed to be used on a Raspberry 3.

Finally, I have been getting back to Pygame 1.9.6 which run at correct speed.

Thanks for your help !
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020