- Python venv module supports to create lightweight virtual environment.
- Each environment is independent which has it's own set of python package.
- Each project should have it's own virtual environment.
Syntax to create virtual environment
python -m venv virtualenv_name
or
python3 -m venv virtualenv_name
Command to create virtualenv
python -m venv project_a
Command to activate virtualenv
.\project_b\Scripts\activate
To install package
pip install django==3.2
To check installed pacakges
pip list
To deactivate virtual environment
deactivate
More about configparser
https://docs.python.org/3/library/con...
Complete Python Tutorial : • #1 How to Install Python 3.11 on Wind...
🚀 Telegram Channel Link https://t.me/viraj_py
On this page of the site you can watch the video online #43 virtual environment in python | virtualenv | venv in python | viraj_py with a duration of hours minute second in good quality, which was uploaded by the user viraj_py 03 March 2023, share the link with friends and acquaintances, this video has already been watched 250 times on youtube and it was liked by 8 viewers. Enjoy your viewing!