Virtual Environments¶
We recommend to use a different virtual environment each time you use the DRS to have the possibility to modify or to add packages to use the results. This will also help you improving reproducibility within the user community. Here is how do we use virtual environments.
Venv¶
The package we use is named virtualenv, you can install it with:
pip install virtualenv
Then, when the name of the virtual environment has been chosen, you can use:
python -m venv virtual-env-name
To activate it:
source ./virtual-env-name/bin/activate
You can then install everything you need. When you want to leave the environment, use:
deactivate
And you will come back to the main environment.