Tuesday, October 18, 2016

A simple way of installing QuTiP on Linux

Anaconda-2.1.0-Linux-x86_64.sh and QuTiP-3.1.0

To install Anaconda:
bash Anaconda-2.1.0-Linux-x86_64.sh.
Installation directory can be set during the install session.

To install QuTiP:
sudo python setup.py install --prefix=/home/zhangpu/media/qutip

Anaconda distribution of python itself has packages like numpy, scipy, cython and matlibplot. The QuTiP installation works with this set of packages. NO PYTHONPATH value should be added to include these packages. Only /home/zhangpu/media/qutip/lib/python2.7/site-packages needs to be added to PYTHONPATH, so that python can find qutip package correctly. Also remember to add /home/zhangpu/media/anaconda/bin to PATH and secure the priority of Anaconda python distribution over other python installations.

No comments:

Post a Comment