GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • index
  • modules
  • next
  • previous
  • PIL 1.1.7
  • Pygame 1.9.2
  • Numpy 1.6.1
  • Ampy
  • PyGraphics
  • NumPy 1.6.1
  • PyGraphics-2.1
  • Installing PyGraphics
  • Show Source

This view

  • Original page
  • New address

GeezerVison is showing pythonhosted.org — Installing PyGraphics — PyGraphics v2.0pre documentation

Navigation

  • index
  • modules |
  • next |
  • previous |
  • PyGraphics v2.0pre documentation »

Installing PyGraphics¶

Editors

To edit code and use PyGraphics, you need an editor. The official Python Wiki has a list of programmer’s editors and a list of integrated development environments .

Windows¶

Download and install the 32bit Python 2.7 installer from the 2.7 release page .

Download and install the Python Imaging Library, PyGame, NumPy, Ampy, and PyGraphics:

  • PIL 1.1.7
  • Pygame 1.9.2
  • Numpy 1.6.1
  • Ampy
  • PyGraphics

Nose

If you wish to use the tests included in the PyGraphics package, you must download and install the Nose package.

First, download setuptools

Next, open a DOS command prompt, and enter this command:

C:\Python27\Scripts\easy_install.exe nose

Nose should install automatically.

Now you should be ready to use the PyGraphics package in your code.

Mac OS X¶

Download and install the 32-bit Mac Installer from the 2.7 release page .

Download and install NumPy:

  • NumPy 1.6.1

Download and install PIL, pygame, ampy, and PyGraphics (all are on a single disk image; make sure to run all four!):

  • PyGraphics-2.1

Nose

If you wish to use the tests included in the PyGraphics package, you must download and install the Nose package.

First, download setuptools

Next, open /Applications/Utilities/Terminal and enter this command:

easy_install nose

Nose should install automatically.

Now you should be ready to use the PyGraphics package in your code.

Linux¶

Note

These instructions are tailored to Ubuntu and Ubuntu derivatives. If you use a different Linux distribution, the commands for installing various dependencies may differ.

Get PyGraphics:

svn checkout http://pygraphics.googlecode.com/svn/trunk/ pygraphics-read-only

In the main pygraphics folder, run the setup file to install PyGraphics to your local installation directory:

python setup.py install --user

Download ampy-1.2.3.tar.gz from the Downloads page , and follow the same procedure to install it as for PyGraphics.

Download and install Python’s imaging package, NumPy, and PyGame. They are available via apt-get:

apt-get install  python-imaging-tk python-numpy python-pygame

If you intend to run PyGraphic’s test suite, install Nose:

apt-get install python-nose

Now you and PyGraphics should be ready to make beautiful music (and pictures!) together.

Table Of Contents

  • Installing PyGraphics
    • Windows
    • Mac OS X
    • Linux

Previous topic

Welcome to the PyGraphics documentation!

Next topic

Welcome to the PyGraphics User documentation

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • PyGraphics v2.0pre documentation »
© Copyright 2011, Jen Campbell, Paul Gries, Leo Kaliazine, Chris Maddison, Hardeep Singh, Devin Jeanpierre. Created using Sphinx 1.0.7.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.