Using virtualenv

From mn/bio/cees-bioinf
Revision as of 12:22, 16 June 2015 by (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

virtualenv is a tool to create isolated Python environments. See

Setting up virtualenv on the cod-nodes/abel

module load python2
virtualenv my_python_dir

will create locally a python tree.

Then you can run

cd my_python_dir

And you're ready to go.

This is a fix necessary for abel and the cod nodes, normally not necessary:


Deactivating the environment


Using an existing virtual env

cd my_python_dir

Installing modules in your virtualenc

Activate and then run

pip install module_name