How to create a virtual environment in python
Автор: Garvit Sharma
Загружено: 2024-02-29
Просмотров: 273
Описание:
Learn to create a Python virtual environment in just a few steps, perfect for isolating project dependencies:
1. Create a Virtual Environment:
Command: python -m venv your_env_name
This creates a new folder your_env_name in your current directory, which will store the virtual environment.
2. Activate Virtual Environment:
On Windows: your_env_name\Scripts\activate
On macOS/Linux: source your_env_name/bin/activate
Tip: Use the tab key for autofill in the terminal.
Install Libraries with pip:
3. With the environment activated, use pip to install any libraries you need.
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: