With some of the new machines, you'll need the Conda matplotlib package to use genair. You may be able to install this using
$ conda install matplotlib
but sometimes this doesn't work. One work-around is to reinstall Anaconda as described below.
1) Install Anaconda
- Download the Python 2.7 version from https://www.continuum.io/downloads and follow the installation instructions
- Note: In some cases, the installer doesn't seem to download correctly, and the built-in integrity tests may fail. If this happens, simply try re-downloading and installing - this seems to work.
- Make sure that PATH and PYTHONPATH point to the new installation of Anaconda, and that they are in both your .bashrc and .cshrc (if applicable)
2) Setup genair
Follow the genair conda environment setup as described in the manual, but with some changes (described below). An older version of ipython (3.1.0) is required for genair, which also requires an older version of path.py (7.7.1).
When installing some of the above packages, some people found they would segfault during installation. If they do, try repeating the "conda install <package name>" a few times - this seemed to work.
Updating Anaconda for Use with Genair
With some of the new machines, you'll need the Conda matplotlib package to use genair. You may be able to install this using
$ conda install matplotlib
but sometimes this doesn't work. One work-around is to reinstall Anaconda as described below.
1) Install Anaconda
- Download the Python 2.7 version from https://www.continuum.io/downloads and follow the installation instructions
- Note: In some cases, the installer doesn't seem to download correctly, and the built-in integrity tests may fail. If this happens, simply try re-downloading and installing - this seems to work.
- Make sure that PATH and PYTHONPATH point to the new installation of Anaconda, and that they are in both your .bashrc and .cshrc (if applicable)
2) Setup genair
Follow the genair conda environment setup as described in the manual, but with some changes (described below). An older version of ipython (3.1.0) is required for genair, which also requires an older version of path.py (7.7.1).
- Create conda environment:
$ conda create -n genair pip
$ bash
$ source activate genair
- Install packages:
$ conda install ipython=3.1.0
$ pip install -I path.py==7.7.1 #-- (Use capital i for command line option here)
$ conda install numpy scipy
$ conda install pil
$ conda install pyopengl (or "pip install pyopengl" if conda install doesn't work)
$ pip install pyglet
$ conda install matplotlib
When installing some of the above packages, some people found they would segfault during installation. If they do, try repeating the "conda install <package name>" a few times - this seemed to work.