restart of Diddyborg assembly after years - problem with pygame
Forums:
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
Tue, 12/14/2021 - 12:51
Permalink
Installing Pygame
How strange, the install script should have installed pygame for you :(
You can install it using these commands:
xsnoopy58
Tue, 12/14/2021 - 14:02
Permalink
thank you for reply.
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
Tue, 12/14/2021 - 14:51
Permalink
Pygame install failed
That is very odd, probably explains why it did not get setup for you.
Try using this method instead: