Pygame Error in Python 3.2 (Ubuntu) Suggestion on Installation.

Asked By 0 points N/A Posted on -
qa-featured

Hello,

I have installed Pygame 1.9.1 and get the following error when I try to import it in python. Both Ubuntu and Python 3.2 installed recently.

 
Error:
CODE: SELECT ALL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.2/site-packages/pygame/_init_.py", line 95 in <module> from pygame.base
import *
ImportError: /usr/local/lib/python3.2/site-packages/pygame/base.cpython-32m.so: undefined symbol:
PyCObject_Check
 
Do I need to install Pygame 1.9.2?
 
If I need to install it please explain me how to remove the original one?
 
I'm new to Python and waiting for some solution for this.
 
Thanks.
SHARE
Answered By 0 points N/A #125251

Pygame Error in Python 3.2 (Ubuntu) Suggestion on Installation.

qa-featured

Stipulation, you are running an earlier version of Mac OS X, you have needed to fiddle with some of the instructions described below. 

Now you have to install PyGame from source, you have to need the GCC compiler installed.  Here's the “tools” that you should needed installed in order to provide this functionality,  “Xcode”,  “MacPorts” and “Fink”. All of the above will take a little while to download and install.

You can search for each project/product on the net and follow the download/install information provided by each project if needed.  Take some time to prepare for this. To Install PyGame, you first need to convince its dependencies.

For each of the dependencies listed here on this site PyGame Installation.

Related Questions