restart of Diddyborg assembly after years - problem with pygame

Hi erveryone,
I bought my Diddyborg some years ago but didn't assemble it.
Now I have time for this.
So I startet with the raspberry software.
But after installation of all software and sending the command
./runDiddyJoy.sh
I got the following message:
Traceback (most recent call last):
File "/home/diddyborg/diddyJoy.py", line 8, in
import pygame
ImportError: No module named pygame

I am a total beginner and need help please

piborg's picture

How strange, the install script should have installed pygame for you :(

You can install it using these commands:

sudo apt update
sudo apt-get install -y python-pygame

thank you for reply.
That did not help.
Here is the response from the command:
pi@raspberrypi:~ $ sudo apt-get install -y python-pygame
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paket python-pygame ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.

piborg's picture

That is very odd, probably explains why it did not get setup for you.

Try using this method instead:

python -m pip install pygame
Subscribe to Comments for "restart of Diddyborg assembly after years - problem with pygame"