Use Python3 Virtualenv in macos
For different projects may depend on different plugins, and even same plugin with different version. Virtualenv allows us to create different virtualenvs for different projects.
-
Install the
virtualenv
pip packagepip3 install virtualenv
-
Create virtualenv
python3 -m virtualenv /path/to/venv
-
Activate and Use
source /path/to/venv/bin/activate