Clean New Projects with venv - Virtual Environments

Clean New Projects with venv - Virtual Environments

NeuralNine

10 месяцев назад

12,356 Просмотров

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


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

Sulara Perera
Sulara Perera - 05.09.2023 23:32

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

Ответить
EntrepreneurTim
EntrepreneurTim - 03.09.2023 22:05

If you're on Windows and having trouble activating your virtual environment. The user account you're using may be restricted from running scripts on the desktop.

Here's the code that solved it for me:

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

From there, you can pick up with "Scripts\activate" command next.

Ответить
EntrepreneurTim
EntrepreneurTim - 03.09.2023 21:50

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

Ответить
Zulu Charlie
Zulu Charlie - 01.09.2023 06:52

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

Ответить
Abdulwaleed Julaid
Abdulwaleed Julaid - 29.08.2023 10:45

Please zoom your work not to see

Ответить
The_G
The_G - 15.08.2023 20:44

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

Ответить
Ingo Kaminski
Ingo Kaminski - 13.08.2023 03:16

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

Ответить
Zulfugar Abdullayev
Zulfugar Abdullayev - 12.08.2023 13:28

Very useful video, thank you very much!

Ответить
cmrncrick
cmrncrick - 12.08.2023 12:59

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

Ответить
Mitch Hudson
Mitch Hudson - 12.08.2023 07:33

Great tutorial! Thanks!

Ответить
Mr Wilson
Mr Wilson - 11.08.2023 21:49

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`

Ответить
Yash Jha
Yash Jha - 11.08.2023 06:53

Very informative! How is Pop OS btw?

Ответить
Krzysztof Radzikowski
Krzysztof Radzikowski - 11.08.2023 00:30

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

Ответить
Max S.
Max S. - 10.08.2023 23:27

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

Ответить
Mike Johnston
Mike Johnston - 10.08.2023 22:38

great tutorial. Thanks

Ответить
Ravi Agarwal
Ravi Agarwal - 10.08.2023 21:12

Hi, how would one manage os- independent package versions because many OS dependent packages are also installed sometimes.

Ответить
John Son of John
John Son of John - 10.08.2023 19:40

Excellent. Thanks!

Ответить
nate. walter
nate. walter - 10.08.2023 15:58

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

Ответить
Bento's Matrix
Bento's Matrix - 10.08.2023 15:56

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

Ответить
KhanDoor
KhanDoor - 10.08.2023 15:06

Love your channel bro!

Ответить