-
Notifications
You must be signed in to change notification settings - Fork 1
Using virtualenv
Lex Nederbragt edited this page May 4, 2016
·
1 revision
virtualenv
is a tool to create isolated Python environments. For a description, see this page.
module load python2
virtualenv my_python_dir
will create locally a python tree.
Then you can run
cd my_python_dir
./bin/activate
And you're ready to go.
This is a fix necessary for abel and the cod nodes, normally not necessary:
unset PYTHONPATH
Deactivating the environment
deactivate
Using an existing virtual env
cd my_python_dir
./bin/activate
Activate and then run
pip install module_name
Back to the CEES-HPC wiki home page