Reply
Thread Tools
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#1
Hi, one of my favorite things about the n900 is pygame. After installing pr1.2 it seems to be gone, I no longer can run any of the pygame apps I have been messing with. It's kind of a bummer..

"ImportError: No module named pygame"

I tried "apt-get install pygame" but it returns "Couldn't find package pygame"

(Edit: resolved - was using wrong package name, should be python-pygame)

Can anyone advise me how I can get it back, or if it's something that needs updated and hopefully it'll be along in due course.

Thx.
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun

Last edited by kojacker; 2010-05-26 at 23:15.
 
Posts: 324 | Thanked: 371 times | Joined on Dec 2009 @ Vancouver, BC
#2
The module is called python-pygame, and is in Extras
 

The Following User Says Thank You to Slocan For This Useful Post:
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#3
Originally Posted by Slocan View Post
The module is called python-pygame, and is in Extras
It's definitely showing up for you? I only get the following "python-"s

python-argparse
python-boto
python-circuits
python-mlpy
python-pygments
python-scapy
python-sympy

I have all the repositories enabled for the search.

hmmmph.
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun

Last edited by kojacker; 2010-05-26 at 22:24.
 
Posts: 324 | Thanked: 371 times | Joined on Dec 2009 @ Vancouver, BC
#4
I haven't yet upgraded to PR1.2, so I can't actually test. I was merely referring to the fact "apt-get install pygame" is not going to work, but "apt-get install python-pygame" should (at least it does before 1.2).

You might also want to do a search with:
apt-cache search python-pygame
apt-cache show python-pygame

To see if it is already installed:
dpkg -l | grep pygame
and if it is maybe try reinstalling:
apt-get --reinstall python-pygame
 

The Following User Says Thank You to Slocan For This Useful Post:
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#5
Thanks Slocan, just as you were typing that I was able to install it through apt-get with the correct package name. Dam you Google! *shakes fist* ANyway, all's right in the world again.

Not sure why it wasn't showing up in the list though, oh well. Thanks again
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun
 

The Following User Says Thank You to kojacker For This Useful Post:
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#6
Originally Posted by kojacker View Post
Not sure why it wasn't showing up in the list though, oh well. Thanks again
It's because application manager doesn't show libraries. The ones you found would be considered broken if they were promoted to extras-testing because of wrong category.
 

The Following User Says Thank You to mikkov For This Useful Post:
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#7
Ok Guys

Post pr 1.3 I'm struggling with installing python-pygame
says its looking for libsdl1.2 which seems to have been replaced with libsdl1.3

does it need to be re-built?
__________________
N900_Email_Options Wiki Page

Last edited by mikec; 2010-11-09 at 17:43.
 
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#8
bump

anyone got pygame working with pr1.3
maesynth is broken as a result
__________________
N900_Email_Options Wiki Page
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:08.