Create virtual environment with virtualenvwrapper in windows
Virtual environment with virtualenvwrapper for windows
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.
For creating separate python virtual environment need to follow below steps:
Install pip with this command: python -m pip install -U pip
Then install "virtualenvwrapper-win" package by using command (command can be executed windows power shell):
pip install virtualenvwrapper-win
Create a new virtualenv environment by using command:
Activate the environment by using command:
Main commands for virtualenvwrapper:
This modified text is an extract of the original Stack Overflow Documentation created by following contributors and released under CC BY-SA 3.0