Hi,
I purchased the speaker bonnet for my pi and the install went well and tested fine. But trying to play mp3 files using the code found at https://learn.adafruit.com/adafruit-spe ... ith-pygame gives me this error when trying to install the pygame code.
Package python-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
E: Package 'python-pygame' has no installation candidate
Can you point me to a good link?
Thank you!
Guy
Speaker Bonnet & PyGame Player Download Link Error
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- oakguy
- Posts: 24
- Joined: Mon Dec 17, 2012 2:33 pm
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Speaker Bonnet & PyGame Player Download Link Error
Thank you for pointing this out. I’ll update the guide. This will get you there:
Code: Select all
sudo apt install python3-pygame
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/