Showing posts with label macports. Show all posts
Showing posts with label macports. Show all posts

March 20, 2015

How to install PYGAME in Mac OSX 10.10 Yosemite

Download and install MacPorts 

https://www.macports.org/install.php 
Open Terminal: 


pippo:folder$ sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/
System/Library/Frameworks/Tk.framework/Versions/8.5/Headers/X11 /usr/local/include/X11 

pippo:folder$ sudo pip install hg+http://bitbucket.org/pygame/pygame 

pippo:folder$ python
>> import pygame 

 enjoy it ;)