Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 651 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 651 Bytes
Managing your python environment

python virtual environment help us manage the dependencies, and reduce effort while working on multiple project.

  1. It is important because likely you will be working on multiple different porject on same time.
  2. You want to share your project with other developers.
  3. Only to have necessary packages for your work. not more than needed.
How to create virtual environment in python ?

python -m venv C:\Users\username\Documents\virtual_envs\your_project_name

How to activate virtual environment on windows?

C:\Users\username\Documents\virtual_envs\your_project_name\Scripts\activate.bat