I downloaded an sd card image by Ubiquity Robotics which is an Ubuntu OS with ROS preinstalled onto my Raspberry Pi. This image creates a pifi access point for the Raspberry Pi and allows me to ssh into the Raspberry Pi by connecting my laptop to the access point created and doing ssh [email protected]
. Now then I tried connecting to my home router by using pifi add <ssid> [<password>]
and then sudo reboot
. I was able to connect to my home router this way. So after this I tried downloading the library I needed, pygame. So i typed sudo apt-get install python3-pygame
And this is what i got:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-pygame is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
So I went to a pygame site and tried downloading the library another way:
sudo apt install libsdl2-dev libfreetype6-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-ttf-dev libjpeg-dev libpng-dev libportmidi-dev
And this is what I got:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpng12-dev' instead of 'libpng-dev'
E: Unable to locate package libsdl2-dev
E: Unable to locate package libsdl2-mixer-dev
E: Unable to locate package libsdl2-image-dev
E: Unable to locate package libsdl2-ttf-dev
E: Unable to locate package libportmidi-dev
Now I have no clue on what to do and how to go about downloading the library. Is there a way I can directly download the library into the sd card image or what. Help me out pls.