How to Create and Activate Python Virtual Environment on Mac

preview_player
Показать описание
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.

🕗 Time Stamps

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

✅ Commands

~ pip install virtualenv [ Install ]
~ virtualenv venv [ Create ]
~ source venv\bin\activate [ Activate ]
Рекомендации по теме
Комментарии
Автор

One of the most studios tutorial... no explanation setup for beginners or whatsoever

Sport_lightHQ
Автор

ten out of ten video 🙏 haha, due to somehow being able to get stuff to work (genuinely don't know how i have been able to 😂) could you please elaborate on what a virtual environment is used for? would it just basically take the place of an app like xcode or visual studio code to run scripts in?

miku..
Автор

Thank you. So this creates a lot of packages inside this new 'folder' is it a folder? How can we clean up after? Just recursively delete it?

calvincrane
Автор

Can you please tell the plugin or library that allows to see the suggestions based on the keyword we enter like the ones you are getting when you type pip install .... in the terminal.

stard-ukbu
Автор

I don't see "~Namespace" in my PC is it something related to user account restrictions?

Mikey_CallofDuty