Code Monkey home page Code Monkey logo

alienshooter-'s Introduction

To install pygame(on MAC OSX) 
For Windows attempt to follow the instructions on pygame website 
http://pygame.org/download.shtml

#First install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

#Install Mercurial
brew install mercurial

#Install brew python 
brew install python 

#Install other stuff pygame will need 
brew install sdl sdl_image sdl_mixer sdl_ttf smpeg portmidi

#Install numpy 
pip install numpy 

#Download source code for pygame(pygame-1.9.1release.tar.gz) 
http://pygame.org/download.shtml

#untar and cd into pygame-1.9.1release directory 
#Run commands(from pygame-1.9.1release directory) 
python setup.py  
python config.py #make sure the SDL's are found  
python setup.py install 

#If no errors (there will be lots of warnings) 
python2.7-32 

#Should enter python interpreter type 
import pygame 

#If you get no errors SUCCESS! run the sample code and then begin exploring

use python2.7-32 instead of python when running 
http://stackoverflow.com/questions/8275808/installing-pygame-for-mac-os-x-10-6-8


alienshooter-'s People

Contributors

reiffev avatar

Watchers

James Cloos avatar J.D. DeVaughn-Brown avatar michael.zt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.