Use Python venv, or else...

preview_player
Показать описание
The Python venv module will save you a lot of trouble when using pip.

Virtual environments provide you with a comfy place to pip install packages for each project you work on independently, and that is important. The alternative is to cram all your packages in one of a handful of bad locations, like the user site packages, that shouldn't even exist in the first place.

In this video we see how I messed up my Ubuntu distribution packages and that wreaked complete and irreversible (well, almost) havoc that I had to reinstall my OS.

Hope you enjoy the video!

Timecodes
0:00 - Intro
0:15 - How to use Python venv
2:28 - Dependency conflict: The problem that venv solves
10:09 - What is a virtual environment, and how it works?
13:55 - Running a venv outside without activating
15:15 - Inside the activate script: PATH
Рекомендации по теме
Комментарии
Автор

This is one of the most underrated channel i've ever seen in my entire life. Really thumbs up man, you're amazing. Concise videos, no over-fancy animations, video editing or stuff. Just explaining to perfection what you're trying to. Simply amazing, you deserve more.

alexxitoprivacy
Автор

Here to make my 1% contribution:)) Keep up the great work!

parisabazaz
Автор

Thank you for clear explanation of the concept.

mycuriouself
Автор

second video i watched today. thanks a lot for your explanations. it helps a lot.

thedudegotfourviews
Автор

Nice one! Got excited to get into Python. :)

pedrambehnood
Автор

High level in Python! Congratulations!

academianobresilva_