Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've been trying to install PyGame for Python, and can't seem to get Python to recognize that it's there. I use Python 3.3, and have a 64-bit Windows computer, but that's really all I know. The PyGame website has piles of different versions of the installer, but I can't seem to find the right one. Either they let me install it but then starts spitting errors (basically saying the module doesn't exist, when it does), or I get this sort of set-up program that keeps saying it's not in my "registry".

share|improve this question
3  
Can you post your error messages verbatim? –  Seth Battin Jun 1 '13 at 5:51
1  
Do you have 64bit python as well? I'm not sure it's supported. However, try this pygame version: pygame.org/ftp/pygame-1.9.2a0.win32-py3.2.msi –  user11177 Jun 1 '13 at 7:12
add comment

2 Answers

I have successfully used pygame on 64-bit Windows with both Python2.7 and Python3.3.

I used the installers from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame

Choose the appropriate one to match your Windows and Python versions, in your case: pygame-1.9.2pre.win-amd64-py3.3.‌exe

share|improve this answer
add comment

Pygame only works for 32-bits version of Python, so that's the reason it didn't find your Python installation on the registry.

In the Downloads section, the following can be read:

windows 64bit users note: use the 32bit python with this 32bit pygame.

http://pygame.org/download.shtml

And I also recommend you to use Python 2.7 for compatibility reasons.

share|improve this answer
    
Compatibility with what? Legacy code of his, third party libraries? For new code with a Python deployment you control, I see no point in targetting Python 2 if your libraries and code can target Python 3. –  Lars Viklund Jun 5 '13 at 3:40
    
Compatibility between the framework and the Python version. The difference between the versions may cause some unforeseen bug in your program, although I've never seen anything happen yet. Also, Python 2 is just powerful enough to the point that I think Python 3 is rather unnecessary, without mentioning the fact that there are more complementary software supporting 2.x than 3.x. –  epiplon Jun 12 '13 at 11:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.