Book Image

NumPy: Beginner's Guide

By : Ivan Idris
Book Image

NumPy: Beginner's Guide

By: Ivan Idris

Overview of this book

Table of Contents (21 chapters)
NumPy Beginner's Guide Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
NumPy Functions' References
Index

Time for action – installing Pygame


We will install Pygame in this section. Pygame should be compatible with all Python versions. At the time of writing, there were some incompatibility issues with Python 3, but in all probability, these will be fixed soon.

  • Installing on Debian and Ubuntu: Pygame can be found in the Debian archives at https://packages.qa.debian.org/p/pygame.html.

  • Installing on Windows: From the Pygame website (http://www.pygame.org/download.shtml), download the appropriate binary installer for the Python version you are using.

  • Installing Pygame on the Mac: Binary Pygame packages for Mac OS X 10.3 and up can be found at http://www.pygame.org/download.shtml.

  • Installing from source: Pygame is using the distutils system for compiling and installing. To start installing Pygame with the default options, simply run the following command:

    $ python setup.py
    

    If you need more information about the available options, type the following:

    $ python setup.py help
    
  • To compile the code, you...