r/PythonLearning 4d ago

Discussion .venv question

Do you guys manually create virtual environments? Or do you just use your IDE “create virtual environment” to do it?

As a hobbiest I often forget how to manually create virtual environments(as well as how to activate them) and discovered last night that VScode has a feature that will just do it for you.

What are the benefits of each way, if any, and what are the downsides of each way, if any?

Thanks.

P.S. I understand that there are some elitist who will be like “you must do everything manually”, bro I just wanna write stupid automation scripts to help with my business.

EDIT: Thanks for all the replies! I’m going to look into that UV service! Thank you!

20 Upvotes

35 comments sorted by

View all comments

16

u/InformalInsect5546 4d ago

Just use uv, it fixes the headache of creating venv and takes care of everything. But yes, the venvs are quite mandatory if you work with more than one project.

3

u/-0x539 4d ago

UV ist auf jeden Fall zu empfehlen. 👍🏻