Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

Corey Schafer

5 лет назад

278,344 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Amelia
Amelia - 23.10.2023 03:01

This was exactly what I was looking for. THANK YOU! You're a great teacher.

Ответить
Perry Battles
Perry Battles - 14.10.2023 03:21

Thank you sir!

Ответить
RAJASEKAR C
RAJASEKAR C - 27.09.2023 09:52

this solves one doubt, but i have pyenv, i can use the same requirements.txt and other methods with pyenv and not rely on venv at all right?

Ответить
Nahom Natnael
Nahom Natnael - 09.09.2023 22:37

I love this guy

Ответить
Alexandros Tsagkaropoulos
Alexandros Tsagkaropoulos - 18.08.2023 04:53

So simple, yet elegant and concise explanation of something I just now comprehended completely. Congrats Corey, you are a phenomenal teacher!

Ответить
Ricardo Diaz
Ricardo Diaz - 08.08.2023 09:28

Yo thank you so much

Ответить
Abhishek Kumar
Abhishek Kumar - 14.07.2023 21:37

Great explanation. Thanks it was very helpfull Cory

Ответить
Chan Woo Park
Chan Woo Park - 28.06.2023 01:03

python3.x -m venv project_name

Ответить
Norman Baatz
Norman Baatz - 26.06.2023 15:17

Best video on venv that I found of the six I watched (and didn't even care to finish watching in some cases).

Ответить
Kartik Podugu
Kartik Podugu - 24.05.2023 04:19

What is the difference between module, package and library in Python? I am confused

Ответить
khomo12
khomo12 - 01.05.2023 06:55

Nice✨️👍👍👍

Ответить
tkadado
tkadado - 17.04.2023 00:33

thanks for the best explanation I ever seen

Ответить
D.A. VFX
D.A. VFX - 09.04.2023 01:55

can you make a video on how this works with wsgi?

Ответить
MechaTex
MechaTex - 24.03.2023 23:17

This is great. One thing I'm not sure about, when you use '--system-site-packages' option, I assume that nothing you do to those packages in the venv affects the system packages. Like testing a package upgrade. Seems obvious but wanted to be sure, lol.

Ответить
Dylan Okyere
Dylan Okyere - 13.03.2023 13:23

Do you put the requirements.txt within the venv directory?

Ответить
Edward Wong
Edward Wong - 09.03.2023 17:49

I had to watch this like at least 3 times, probably more. But Corey is still the best. If I am not going to understand it with Corey, then it was not meant to be. But I definitely got a little more each time.

Ответить
Rafael Gia
Rafael Gia - 06.03.2023 03:22

great explanation! thanks a lot!

Ответить
Latino Web Studio
Latino Web Studio - 15.02.2023 12:29

thanks for the video! I'm trying to use turtle graphics on my venv but I get the following error:
ModuleNotFoundError: No module named '_tkinter'

Do you know why that's happening? tk is installed and I've installed and uninstalled it several times. Turtle works when the python interpreter is set to global but then none of the packages work. When I set the python interpreter to the venv, the installed packages work but turtle doesn't work.

Ответить
Mohammadali Abbasbeygi
Mohammadali Abbasbeygi - 15.02.2023 01:01

crystal clear!

Ответить