To install PyBrain on a machine with no python installation or administrator access:
- Download and compile python 2.6.x
- Download virtualenv
- Create a virtualenv using the aforementioned python binary.
python virtualenv -p /path/to/python2.6 ENV
- Source the virtual environment's environment
source ENV/bin/activate
- Download and compile BLAS. Ensure to use -fPIC if your system requires it. Make sure NOOPTS and OPTS are correct.
- Download and compile LAPAC.
- Use pip to install numpy
LAPACK=~/lapack-3.4.0/liblapack.a BLAS=~/BLAS/libfblas.a ~/scratch/work/ENV/bin/pip install numpy
- Download and compile scipy. set the
--fcompiler
option tognu95
, to ensurenumpy
andscipy
use the same compiler.LAPACK=~/lapack-3.4.0/liblapack.a BLAS=~/BLAS/libfblas.a ~/scratch/work/ENV/bin/python setup.py build --fcompiler=gnu95
- Use
pip
to install pybrain.~/scratch/work/ENV/bin/pip install pybrain
- Test pybrain.
python
>>import pybrain - Download and compile scipy. set the