Skip to content

A batch scripts for Windows CMD to automatically activate virtual environment for python virtualenv.

License

Notifications You must be signed in to change notification settings

koderzi/cmd-pywin-venv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-Virtualenv-Auto-Activation-for-Windows-CMD

A batch scripts to automatically activate virtual environment when using Python-Virtualenv when entering working directory in windows command prompt.

Introduction

On windows, you need to manually activate python virtualenv environment inside working directory. Using this script, you can automatically activate environment when entering your working directory and deactivate while leaving the working environment.

Prerequisite

  • Python and virtualenv package should have already installed in your system
  • Virtual environment should be named identical to your working directory to make this script work.

Installation

The installation of pywin-venv is super easy. Just run the following installation command as administrator in a Command Prompt terminal:

curl "https://raw.githubusercontent.com/fiziechemi/pywin-venv/master/install.cmd" -o "%USERPROFILE%\install.cmd" & "%USERPROFILE%\install.cmd"

About

A batch scripts for Windows CMD to automatically activate virtual environment for python virtualenv.

Topics

Resources

License

Stars

Watchers

Forks