We recommend using virtual environments on your QMI to help isolate your python projects from potentially conflicting with each other.
To launch a python virtual environment by default when connecting to your QMI, edit the ~/.bashrc file located in the root directory of your QMI and add the following line:
source ~/.virtualenvs/venv/bin/activate
Alternatively, you can also launch a python virtual environment manually by using the command below, however you must remember to use this command each time you interact with python on your QMI.
source .virtualenvs/venv/bin/activate
Comments
0 comments
Please sign in to leave a comment.