- Python 3
- Pip 3
$ brew install python3Pip3 is installed with Python3
To install virtualenv via pip run:
$ pip3 install virtualenvCreation of virtualenv:
$ virtualenv -p python3 <desired-path>Activate the virtualenv:
$ source <desired-path>/bin/activateDeactivate the virtualenv:
$ deactivate
Anyone knows how to activate the virtualenv without having to remember the path to its directory? I'm talking about command similar to conda virtualenv.
conda activate <name-of-venv>