I have been trying to get the pygame module to work with python3 in a macbook 10.6. I read it was tricky, I had to install from source code following these instructions: http://programming.itcarlow.ie/PyGameInstall.pdf Everything went OK, but when I try to import pygame I get this error:
Python 3.2.2 (v3.2.2:137e45f15c0b, Sep 3 2011, 17:28:59)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dynamic module does not define init function (PyInit_base)
I have no idea what this means. I have done the regular installation and it works fine with python 2.7 but I want some features from python3. Any ideas about what's wrong here?