#43 virtual environment in python | virtualenv | venv in python | viraj_py

Veröffentlicht am: 03 März 2023
auf dem Kanal: viraj_py
250
8

- 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


Auf dieser Seite können Sie das Online-Video #43 virtual environment in python | virtualenv | venv in python | viraj_py mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer viraj_py 03 März 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 250 Mal angesehen und es wurde von 8 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!