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/
Locked
User avatar
oakguy
 
Posts: 24
Joined: Mon Dec 17, 2012 2:33 pm

Speaker Bonnet & PyGame Player Download Link Error

Post by oakguy »

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

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Speaker Bonnet & PyGame Player Download Link Error

Post by mikeysklar »

Thank you for pointing this out. I’ll update the guide. This will get you there:

Code: Select all

sudo apt install python3-pygame

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”