Python Virtual Environment: How to Create, Activate, Deactivate and Delete | Windows 11
Автор: Binary Study
Загружено: 22 янв. 2025 г.
Просмотров: 344 просмотра
In this video, we will demonstrate how to create, activate, and deactivate the virtual environment in Python. We will also explain how to install Python packages such as NumPy in the virtual environment. Finally, we will show how you can remove or delete the virtual environment. There is no specific Python command to delete the virtual environment created using the Python command. We will use the common command "rm -r" to remove the directory recursively.
We will demonstrate the following python commands to do all these tasks:
1. "python -m venv virtual_environment_name" for creating a virtual environment.
2. "virtual_environment_name\Scripts\ativate" to activate virtual environment.
3. "deactivate" to deactivate the virtual environment.
4. "pip install numpy" to install NumPy
5. "pip uninstall numpy" to uninstall NumPy
6. "rm -r virtual_environment_name" to remove or delete the virtual environment directory.
00:00 Introduction
00:33 Create a virtual environment
01:21 Activate the virtual environment
01:49 Install Python package, NumPy
02:56 Uninstall NumPy
03:55 Deactivate the virtual environment
04:10 Remove/delete the virtual environment
Python Videos
1. • How to Install Python on Windows 11 a...
2. • Install Jupyter Notebook on Windows 1...
Computer vision & image processing related videos:
1. • How to load and visualize CIFAR-10 an...
2. • How to load and visualize multiple im...
Playlists
• Python for Absolute Beginners
• Colab
• Computer Vision

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