Quantcast
Channel: Python – AkbarAhmed.com
Viewing all articles
Browse latest Browse all 10

Setup virtualenv on Windows

$
0
0

I’m going to assume you have Python 2.7 correctly installed on Windows at C:\Python27. These instructions are applicable to Windows XP and Windows 7.

 

Open Windows PowerShell, then enter:

cd C:\Python27

.\Scripts\virtualenv.exe –no-site-packages env_tornado

And now to activate the new environment:

.\env_tornado\Scripts\activate.bat

The new virtual environment is now setup and ready for use



Viewing all articles
Browse latest Browse all 10

Trending Articles