I am using Ubuntu 13.10.I have both python 2.7 and python 3.3.I have installed pygame properly in python 2.7.How can i install it in python3.3.Does pygame support python3.3 or not?
Here's a link to a solution for Ubuntu 12.04. Hope it helps. From the terminal:
Unfortunately you need to recompile it. And unfortunately the last stable version (1.9.1) doesn't support python 3...
So you need to download the last source code from the trunk, hopping it's not broken at this moment:
You also need to download the build dependency:
This will install dependency used by the version of pygame available on your package depot. Newer version maybe need other dependency! We also need to specify python3-dev and python3-numpy because, well, build-dep will install python2 version of this packages...
You can now run:
If some dependency are missing config.py will list them and ask if you want to continue if this dependency are not mandatory. You can install them if you want/can or simply ignore it and probably loss some functionality.
Now it's time to build and install: