Once a virtualenv is created, you can activate it using source python3/bin/activate
(this assumes that the virtualenv is called python3
, and the folder for the virtualenv is in our current directory).
When a virtualenv is activated, the Python version and packages installed in the virtualenv will become the default Python version and packages when you type python
.
Instructions
- Activate the
python3
virtualenv
/home/dq$ source python3/bin/activate
(python3) /home/dq$