![]() ![]() This gave no error and a simple pygame program ran fine. Out of super user mode and in a terminal shell This will build in the directory before installing. This should find the SDL, jpeg, png, and numpy libraries The mac does not have a ld.so.confĪnd apparently the links generated by XQuartz in /usr do not work correctly. ![]() You must specify using the original location of X11. However, you can use the sudo command instead.Įxport CFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.8.sdk -I/opt/X11/include -arch i386' Changed to the pygame directory (normally pygame1.9.1release). Library/Frameworks/SDL.framework/Headersħ. The include directory of SDL (SDL/Headers). SDL_x header files refer to SDL as <SDL/SDL_yy.h> However, a SDL directory is not under Mountain Lion OS X no longer includes the X11 window system library.ĭecompressed and extracted to create directory pygame1.9.1releaseĪ. Choose the Download tab and select Components.ĥ. To do this start Xcode and go to Preferences under Xcode menu. Installed the libjpeg and libpng libraries from dmgĤ. However, you will have to install numpy.ģ. The download of Python-2.7.3 is from the vpython site and designed to work with vpython. Second, download and install VPython-Mac-Py2.7-5.74 (VPython does not work with Mac 64-bit/32-bit Python, but this 32-bit version of Python works fine on 64-bit Macs) In my system this installs files under Applications and /Library/Frameworks/ameworkįirst, download and install the pure 32-bit Python, Python-2.7.3 ![]() Installed python but using visual python version. Here's how I installed PyGame 1.9.1 on Mac OS X 10.6 (Snow Leopard) for Python 2.7.2.A method of installing pygame on Mac OS X 10.7 (Lion).Cheers, and good luck! (Paul Barry, Dec 2009). I recently installed PyGame 1.9.1 on Mac OS X 10.6 (Snow Leopard) running Python 3.1 - (instructions at the bottom of the page.An alternative method based on macports and SVN.Here are some alternative methods for installing PyGame on osx: The following page details how to install PyGame 1.9.1 on a Mac OS X 10.6 (Snow Leopard) running the most recent 2.x version of Python (2.7.1). If you want to install the last release, change the pip install part to: pip install Other instructions ¶ Brew upgrade sdl sdl_image sdl_mixer sdl_ttf portmidi ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |