Wednesday, May 22, 2013

Setting up Python/Pylab environment on machine with no root access

No pip? Bootstrapping ourselves
cd /tmp (We have write access here)
curl -O
tar -xzf pip-1.3.tar.gz
cd pip-1.3/
python install --user
Python informs us pip is now installed under
cd back to our directory. Add this path to .bash_profile
Let's try this out:
pip install matplotlib --user
pip install ipython --user
pip install --upgrade nose --user (The server had an older version of nose)

No comments:

Post a Comment