10

I'm trying to install pygame on my mac but I am getting the error

pygame 1.1release can't be installed on this disk.

pygame requires System Python 2.7 to install

pygame requires System Python 2.7 to install

I'm running python 2.7

$ which python
/usr/bin/python
$ python --version
Python 2.7.5

I downloaded pygame from http://pygame.org/download.shtml and selected the file pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg I'm running osx 10.9.1

Why do I receive this error when I'm running Python 2.7 and how can I successfully install pygame on mac?

1
  • This issue might be happening if you have 64bit python, as pygame only supports 32bit python. Have you tried the fix suggested in this post? May 6, 2014 at 15:35

1 Answer 1

4

If you're running 10.9, you will need the MacOS 10.7 build or you can also install using homebrew or just install from source.

I tested installing the 10.7 build on OS 10.9.2 and it worked fine.

Note that you will also probably need to install XQuartz to make it work on latests versions of OSX.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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