Commit d9098c47 authored by Michael Krause's avatar Michael Krause 🎉
Browse files

software: clarify virtualenvwrapper & pbs

parent 53cb0cb4
Pipeline #593 passed with stages
in 40 seconds
......@@ -139,7 +139,18 @@ For convenience reasons we also installed a module called `virtualenvwrapper`_,
[krause@master ~]
Note how :file:`virtualenv` is also managing your shell prompt, so you always know which Python environment you are currently running.
Note how :file:`virtualenv` is also managing your shell prompt, so you always
know which Python environment you are currently running. All your virtual
environments created this way reside in your home directory under
:file:`~/.virtualenvs/`. In theory you could just run the virtual python
interpreter that is installed in :file:`~/.virtualenvs/<env_name>/bin/python`
directly. It is much more convenient to use the wrapper functions though.
.. important::
To use the virtualenvwrapper convenience functions (workon etc) in a torque job file you need to add one of the following lines to your job definitions:
:file:`source /etc/bash_completion` **or** :file:`module load virtualenvwrapper`
.. _PyPI: https://pypi.python.org/pypi
.. _pyvenv: https://virtualenvwrapper.readthedocs.io/en/latest
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment