I tried to install pygame via pip but this fails. Based on my google searches, it sounds like easy_install also fails.
I also checked out: http://www.pygame.org/wiki/MacLionCompile but the solution is incomplete.
I'm running python 2.7.1 bundled with Lion.
Suggestions? Appreciate the help.
Installing PyGame If you don't see any errors, it means that PyGame has been successfully installed on your Mac.
Pygame Installation The best way to install pygame is with the pip tool (which is what python uses to install packages). Note, this comes with python in recent versions. We use the --user flag to tell it to install into the home directory, rather than globally. If it works, you are ready to go!
pygame works with most versions of Python, but Python 3.6 is recommended and used throughout this article.
Because the PyGame is only supported python 3.7. 7 or higher version so make sure you are using the latest version of python.
You could try the binary package for Lion, available on the pygame website.
It worked for me (OSX 10.7.1 with bundled Python 2.7.1)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With