Virtual Environment in Python

by | May 24, 2018 | Python-example | 0 comments

Define virtual Environment from command linePython logo

> python -m venv develop_virtual_enviroment

Activate in Environment

> ..\develop_virtual_enviroment\Scripts\activate.bat (for Windows)
> ..\develop_virtual_enviroment\bin\activate.bat (for Linux)

 

Disable the Environment

(develop_virtual_enviroment) > deactivate

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *