hpr2288 :: Installing and using virtualenvwrapper for python
Installing and using virtualenvwrapper for python, (What I learned the hard way!)
Hosted by Knox on Wednesday, 2017-05-10 is flagged as Explicit and is released under a CC-BY-SA license.
python, programming.
3.
The show is available on the Internet Archive at: https://archive.org/details/hpr2288
Listen in ogg,
spx,
or mp3 format. Play now:
Duration: 00:11:05
general.
Installing Virtual env wrapper in linux
Best documentation I have found for working with virtualenvwrapper:
https://python-guide-pt-br.readthedocs.io/en/latest/dev/virtualenvs/
Assuming you have pip installed.
- Install virtualenv
sudo -H pip install virtualenv
- Install virtualenvwrapper
sudo -H pip install virtualenvwrapper
- Modify your .bashrc file to include that following lines:
export WORKON_HOME=~/Envs
source /usr/local/bin/virtualenvwrapper.sh
Test the commands:
mkvirtualenv <project_name>
rmvirtualenv <project_name>
lsvirtualenv
(Lists all virtual environments you have created.)workon <project_name>
deactivate
Don't use SUDO when installing inside the virtualenv