Using virtualenvwrapper on windows

  • OS: Windows 10 Pro Version 1903 64bit
  • python: Version 3.8.6
  • pip: Version 20.2.4
# using pip
pip install virtualenvwrapper-win
# using easy_install
easy_install virtualenvwrapper-win
# from source
git clone git://github.com/davidmarble/virtualenvwrapper-win.git
cd virtualenvwrapper-win
python setup.py install # or pip install .
# create a virtual env named bob
mkvirtualenv bob
# specifying requirements file while creating env
mkvirtualenv -r path-to-requirements\requirements.txt bob
# deactivate activated env
deactivate
# activate env
workon bob
# delete virtual env named bob
rmvirtualenv bob
# list existing virtual envs
lsvirtualenv
# move to the env dir
cdvirtualenv
# move to Scripts dir
cd Scripts
# open activate.bat in your favourite editor (I am using VS Code)
code activate.bat

 by the author.

--

--

--

Full Stack Developer trying to understand JavaScript and Python better

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Develop and deploy EMQ X plugin for Enterprise 4.3

Moving from Ubuntu to Manjaro i3 window manager.

What is Google Compute Engine? How it differs from Azure VM & AWS EC2

Route to OpenShift deployment

Best 14 CI/CD Tools You Must Know | Updated for 2020

Top CI/CD Tools

10 Questions with DoorDash’s Chief Information Security Officer, Justin Grudzien

MangaNFT Community Airdrop Campaign Is Officially Activated

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Anand Suthar

Anand Suthar

Full Stack Developer trying to understand JavaScript and Python better

More from Medium

Cron — Magical wizard in Linux🧙‍♀️

Formatting Python — Why and How !

Building H3 with Visual Studio 2022 Preview

Scheduling Python Scripts using Azure Function App and Task Scheduler — Part 1