Quick installation

For systems with easy_install

The following assumes you have easy_install on your system (this comes standard with new Mac’s for instance), that you have administrator privileges and that you’re connected to the internet.

The key steps are then to:

  1. Download the requirements file. Delete lines for the dependencies you’re not interested in (or if one causes trouble during installation).

Note

Numpy is an absolute requirement.

  1. Install pip

    $ sudo easy_install -U pip
  2. Use pip to download, build and install PyCogent plus all dependencies.

    $ sudo pip install -r path/to/cogent-requirements.txt

If the above fails to download PyCogent you can download the tarball to your hard drive and replace the first line of the requirements file with the full path to the tarball, e.g. /Users/my_user_name/Downloads/PyCogent-1.3.tgz.

If you want to grab the development version of PyCogent, just replace the first line of the requirements file with https://pycogent.svn.sourceforge.net/svnroot/pycogent/trunk.

Note

Although there is a dependency on matplotlib for some of the drawing code, significant changes to the matplotlib API mean that those PyCogent capabilities are broken with recent matplotlib releases. We are waiting until matplotlib has been updated to use numpy 1.3, at which point we will be updating our support. Until then, the code requires matplotlib version 0.87.6.

Installing easy_install

If your system doesn’t have easy_install, then execute the following:

$ sudo curl http://peak.telecommunity.com/dist/ez_setup.py | python

and following the instructions for the pip based installation.

Table Of Contents

Previous topic

Welcome to PyCogent’s documentation!

Next topic

The Readme

This Page