Clean New Projects with venv - Virtual Environments

preview_player
Показать описание
In this video we learn how to properly create new Python projects with virtual environments and venv.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

💼 Services 💼

🌐 Social Media & Contact 🌐
Рекомендации по теме
Комментарии
Автор

Virtual environments are just starting to become clear to me. Thanks for helping solidify it even more

proterotype
Автор

I learn so much from each and every video you put out. Thank you for such great content!!!

cmrncrick
Автор

I was having problems with some dependencies, thank you very much for the super clear and concise video !

sherlynhuso
Автор

As a junior engineer, I have always thought virtual environments were unnecessary noise, I just recently realised how important they are.

its_me_tabs
Автор

Bonus info: from Python 3.9 it'll be nice to supplement the virtual environment creation with the optional argument `--upgrade-deps` as it'll update pip setuptools to the latest version in PyPI.
It would be: `python3 -m venv .venv --upgrade-deps`

mrwilson
Автор

Your channel is a wealth of extremely useful and clearly presented information. Thank you very much.

zulucharlie
Автор

Windows 10 (Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted) then I ran Scripts/activate from a test folder on the Windows Desktop test folder I manually created. I ran this in an instance of Administrator: Windows Powershell. Then, Golden.

my_yt_
Автор

Great explanation on how to create a virtual environment. I am wondering where the advantages or disadvantages are of using conda

maxs.
Автор

You have also a video about poetry... What would you use? Poetry or venv? Thanks.

ingokaminski
Автор

Very useful video, thank you very much!

zulfugarabdullayev
Автор

N00b question, but would I clone the project to the .venv folder or the 'Project1' folder than .venv is in?

luxecutor
Автор

Awesome thanks. Btw is docker is the way to go? Can you pls show us ? Thanks heaps 😊

sularaperera
Автор

Thanks. Could you please explain a little more on how to set virtual python environment in Rstudio?

CanDoSo_org
Автор

venv for binaries / packages and env for env constants / keys etc

damadorpl
Автор

Great content as usual! Do you mind sharing the wallpaper, pls?

elatedbento
Автор

Very informative video, but still have a question? If you want to work with a previously created virtual environment in a new project, how to make that if you're using a text editor

djalalmaster
Автор

I am sorry, but I am almost in a rage now...
This is the fourth video I watched now while the last hour and all were completely useless.
Why do you all wanna was our time? - And now?
Now I have kind of second /usr/lib/python/dist-packages dir. - And how should my project1.py program file in my Project1 project directory use it?
If I start my program like ./project1.py my OS python installation with it's libraries is still used.
Not one word about how to use the new .venv.
I just wasted one hour of watching your's and your colleague's videos not mentioning how to use and not administer a venv.
One thumb down.

henrischomacker
Автор

"11"! - america is showing what it is!

xx
Автор

"source .venv/bin/activate" Doesn't work on Windows. Any suggestions?

entrprnrtim
Автор

Guys, help me pls:

(.venv) (.venv) deactivate
(.venv) deactivate
(.venv) deactivate
zsh: command not found: deactivate

What is the problem? Why do i see that second vevn when im not under the venv? How can i remove it?

-Barny