make virtual environment wrapper python 3 code example
Example 1: make virtual environment wrapper python 3
# if virtualenv wrapper is setup, you can make an env using
mkvirtualenv env1
mkvirtualenv env2
# you can switch using
workon env2
# you can also confirm your environment
echo $VIRTUAL_ENV
Example 2: make virtual environment wrapper python 3
# To setup virtualenvwrapper
pip install virtualenvwrapper
...
export WORKON_HOME=~/Envs
mkdir -p $WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh
mkvirtualenv env1