Pygame incompatible with Python 2.4
Is there a Pygame version that works with Python 2.4? Or will I have to use an older version of Python to use Pygame?
Unfortunately, all Python C extensions are tightly bound to the major/minor(but not patch) version of Python they are compiled against. You cannot use an extension compiled against 2.x with a 2.y Python installation.
I'm sure it won't take long before someone releases PyGame 2.4 binaries, though. In the mean time, look into compiling it yourself. distutils make it pretty easy to do.
I'm sure it won't take long before someone releases PyGame 2.4 binaries, though. In the mean time, look into compiling it yourself. distutils make it pretty easy to do.
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
Quote:
Original post by Arild Fines
In the mean time, look into compiling it yourself. distutils make it pretty easy to do.
This may be true, but that's not what everybody on comp.lang.python seems to think :)
There seems to be a 20-step recipe for getting it to work with the MS Visual Studio .NET compiler, and although I saw one person claim that you could compile extensions with MinGW with only an extra parameter to distutils, other people are claiming it's much more difficult, or that it's still not compatible with the base 2.4 binary.
Well, I've gotten it to compile, but it dies with an access violation somewhere that the debugger is extrememly unhappy about giving a traceback for. Of course, I also changed which version of SDL, SDL_ttf, etc. it was built against. At this point, I'm personally just waiting for someone to release a binary.
This is why I haven't upgraded to 2.4 yet. Package support is still too spare.
Damn right. At the moment I'm quite annoyed at Python for imposing this restriction on us, because it could be forever before all the packages I use are updated (PyOpenGL, PyGame, mod_python, MySQL-Python, etc). I'm not entirely sure where the dependency comes in but it appears that the exports from the various Python dlls change from one version to the next, or something along those lines.
http://www.voidspace.org.uk/python/articles/upgrading_python.html.
http://www.voidspace.org.uk/python/articles/upgrading_python.html.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement