Venvs Part 4 - Avoiding Lockouts, What are virtual environments, and starting folder structure
Venvs Part 4 - Avoiding Lockouts, What are virtual environments, and starting folder structure
Having a virtual environment makes your environment easily reproducible. Not only does it avoid tedious work, but it makes it safer from errors too.
This tutorial talks about dodging installation privilege lockouts - for a minute I thought it was talking about DOGE, like Elon Musk, lol! In some corporate environments you may not have admin privileges to install computer-wide packages anyway. Using virtual environments can save you lots of grief anyway.
What is a virtual environment anyway?
Okay so by now we know WHY to use a venv. But now the tutorial wants us to cover what they are, lol. I am getting pretty tired. This is my fourth blog post of the day lol! FINALLY
THE BIT WE HAVE ALL BEEN WAITING FOR
LADIES, GENTLEMEN, AND HONOURABLE GUESTS
A PYTHON VIRTUAL ENVIRONMENT IS A FOLDER STRUCTURE THAT GIVES YOU EVERYTHING YOU NEED TO RUN A LIGHTWEIGHT YET ISOLATED PYTHON ENVIRONMENT
A PYTHON VIRTUAL ENVIRONMENT IS A FOLDER STRUCTURE THAT GIVES YOU EVERYTHING YOU NEED TO RUN A LIGHTWEIGHT YET ISOLATED PYTHON ENVIRONMENT
A PYTHON VIRTUAL ENVIRONMENT IS A FOLDER STRUCTURE THAT GIVES YOU EVERYTHING YOU NEED TO RUN A LIGHTWEIGHT YET ISOLATED PYTHON ENVIRONMENT
A FOLDER STRUCTURE
ARRRRGH I JUST WANT TO SCREAM NOW AS MY BRAIN IS SO TIRED LOL. Er so this would be a good moment to pause would it not lol. But I don't want to have set up this whole blog post just for nothing. And while I know I can continue in it tomorrow I would rather start afresh.
Thanks! "When you create a new virtual environment, Python creates a self-contained folder structure and copies or symlinks of the Python executable files into that folder structure." Okay no yeah
I'm done
Too many words I don't know there
Thanks.

Comments
Post a Comment