filmov
tv
Use Python venv, or else...

Показать описание
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
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
Python Virtual Environments - Full Tutorial for Beginners
The Complete Guide to Python Virtual Environments!
Virtual Environments in Python - Crash Course
Python Tutorial: virtualenv and why you should use virtual environments
Stop pip installing packages into your system (base) python: use virtual environments instead
Python venv simply explained for BOTH Windows and Linux
Workflow: Python and Virtualenv
Python virtual environments // best practice
E10: Building AI-powered Resume App
Python VENV Explained - Python Virtual Environment Tutorial
Python Development Made Easy: How to Set Up a Virtual Environment
Python Virtual Environment and pip for Beginners
virtualenv vs. venv (beginner - intermediate) anthony explains #040
Arch Linux's Python Protects Me From Myself
Set Up Python Virtual Environment In Visual Studio Code (VS Code) | VSCode activate venv
Python Virtual Environments & The Facts of Life
Python Virtual Environments: All You Need to Know [Windows]
I’ve Switched to UV for Python, and So Should You
Virtual Environment in Python | Python Tutorial - Day #43
The Virtual Environment (venv) in Python 3
venv / Virtual Environments in Python (Python Part 7)
Manage Multiple Python Versions with PyEnv
Always start your web scrapers with this- VENV And Python
Virtual Environments | Python for Beginners [34 of 44]
Комментарии