How to Create and Activate a Virtual Environment in Python using terminal (Ubuntu)

Опубликовано: 01 Ноябрь 2024
на канале: Rahul Mula
685
4

In this video, you'll learn how to create a virtual environment for python using the built-in venv module from the terminal (zsh shell) and activate it. But you can follow along and execute the same commands in a normal (bash shell) terminal as well.

🕗 Time Stamps

00:00 Setup
00:44 Creation
02:08 Activation
02:52 Using PyCharm

✅ Commands

~ python -m venv .\env-name [ Create ]
~ source .\env-name\bin\activate [ Activate ]