How to Create and Activate Python Virtual Environment on Mac

Опубликовано: 15 Октябрь 2024
на канале: Rahul Mula
7,848
52

In this video, you'll learn how to create a virtual environment for python using virtualenv 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.

🦄 Warp terminal (used in video) - https://bit.ly/warp_terminal

🕗 Time Stamps

00:00 Intro
00:16 Install
00:36 Create
01:36 Activate
01:52 Usage
02:03 Deactivate

🐍 Full Python 3.10 Course - https://bit.ly/pywizard

✅ Commands

~ pip install virtualenv [ Install ]
~ virtualenv venv [ Create ]
~ source venv\bin\activate [ Activate ]