Hi,
I do not think anyone has tried it with 3.2 yet? I will see if i can
get it working today. I guess we will need to do another release
after it is fixed. Or maybe you will be able to apply a small
patch... not sure yet.
Speak again soon.
On 26 Feb 2011 06:44, "Westley MartÃnez"<anikom15@xxxxxxxxx
<mailto:anikom15@xxxxxxxxx>> wrote:
Hello, I am a developer who frequently uses pygame. I'm wondering if
anyone has been able to successfully build pygame for Python 3.2.
Specifically the i686 and x86_64 architectures.
I know pygame hasn't been completely ported to Python 3, nevertheless I
maintain a package for Arch Linux for pygame on Python 3. Arch Linux
recently updated to Python 3.2 (it is a rolling release distribution)
and I was able to build pygame fine, but when I attempted to import it I
got an error:
Python 3.2 (r32:88445, Feb 21 2011, 01:55:53)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/usr/lib/python3.2/site-packages/pygame/__init__.py", line 95,
in<module>
from pygame.base import *
ImportError:
/usr/lib/python3.2/site-packages/pygame/base.cpython-32mu.so
<http://base.cpython-32mu.so>: undefined symbol: PyCObject_FromVoidPtr
I am unsure why, and I am neither a pygame nor a CPython developer. This
is the process I used to build the package:
python config.py
python setup.py install --prefix=/usr
cp -R examples lib/* "/usr/lib/python3.2/site-packages/pygame"
cp -R test/* "/usr/lib/python3.2/site-packages/pygame/tests"
chmod 644 /usr/include/python3.2mu/pygame/*
Any information is appreciated.