| Start |
|---|
| Create virtual environment with virtualenvwrapper Suppose you need to work on three different projects project A, project B and project C. project A and project B need python 3 and some required libraries. But for project C you need python 2.7 and dependent libraries. So best practice for this is to separate those project environments. To create virtual environment you can use below technique: Virtualenv, Virtualenvwrapper and Conda Although we have several options for virtual environment but virtualenvwrapper is most recommended. Although we have several options for virtual environment but I always prefer virtualenvwrapper because it has more facility then others. Now we can install some software into the environment. We can see the new package with lssitepackages: We can create multiple virtual environment if we want. Switch between environments with workon: To exit the virtualenv |
Read Article
https://develop.horje.com/learn/1434/reference