spacer
spacer

Python Module Installation

Python Installation

For details of how to install/update Python on your platform see the Python documentation.

Package Managers

On package managed operating systems (e.g. Debian Linux, RedHat Linux, OpenSolaris, etc.) or package based environments (e.g. Cygwin, Fink, MacPorts, etc.) many Python modules are available as packages. See the documentation associated with the package environment for details.

Manual Install

Downloaded Python modules generally follow a standard procedure for installation:

  1. Unpack the module:
    • Tarball:
      tar xf module.tar.gz
    • ZIP:
      unzip module.zip
  2. Change to directory created:
    cd module/
  3. Build module and install:
    python setup.py install

Check the module's documentation (usually README.txt) for details of any pre-requisites and deviations from the normal procedure.


Up Python Contents Contents
 
tutorials/06_programming/python/module_install.txt · Last modified: 2010/09/22 15:46 by hpm
spacer
spacer