1 2 3 4 | virtualenv --no-download ENV source ENV/bin/activate pip install --upgrade pip deactivate #to exit the virtual environment, simply enter the command deactivate |
You can now use the same virtual environment over and over again. Each time:
Load the same environment modules that you loaded when you created the virtual environment, e.g. module load python
Activate the environment, source ENV/bin/activate
No comments:
Post a Comment