📁
EdmundHee
  • Edmund's How to
  • Python
    • Virtual Environment
      • Setup for Windows
      • Setup for Mac
      • How to use VirtualEnvWrapper
  • Git
    • Setup Git Environment
      • Setup Git for Windows
      • Setup Git for Mac
    • Github's How-to
      • Create a repository
      • Repository Branch
      • Update Repository
  • AWS
    • EC2
      • [Raw] EC2 - Recovery Instance
  • Web Development
    • NodeJS
Powered by GitBook
On this page
  • [ Optional ] Before Installing Python
  • Step 1 - Install Python
  • Step 2 - Install VirtualEnv & VirtualEnvWrapper-Win
  • How to use VirtualEnv - click here

Was this helpful?

  1. Python
  2. Virtual Environment

Setup for Windows

It's is encourage to install virtualenv and virtualenvwrapper to manage

[ Optional ] Before Installing Python

I would recommend to install cmder into your laptop, cmder is another command prompt for windows user but it comes with bash commands.

Download the full version that comes with Git for Windows

Extract all the files inside the zipped file once the download is done. You are able to find Cmder.exe inside the folder, right-click then send-to desktop as shortcut.

Step 1 - Install Python

You can download python installer from ( https://python.org ).

Remember to check the Add Python 3.X to PATH checkbox before running the installer.

Step 2 - Install VirtualEnv & VirtualEnvWrapper-Win

Open your command prompt / Cmder, then run the following command to install the libraries

pip install virtualenv virtualenvwrapper-win

Once the install is done, run the following command to check virtualenvwrapper is linked properly

lsvirtualenv

This command is list out all virtualenv created in your laptop environment. Expected outcome from your command prompt/Cmder should be as below.

dir /b /ad "C:\Users\<USER NAME>\Envs"
===========================================================
File Not Found

If your command prompt/Cmder prompted lsvirtualenv not found run the Python installer again and remember to check Add Python 3.X to PATH

How to use VirtualEnv - click here

PreviousVirtual EnvironmentNextSetup for Mac

Last updated 5 years ago

Was this helpful?