this post was submitted on 29 Jun 2023
362 points (97.9% liked)

Programmer Humor

19652 readers
2411 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (9 children)

My workflow:

cd project
python -m venv .venv
. ./.venv/bin/activate
pip install -e .

By default pyvenv excludes system packages, so I can have different versions in the venv. To reset the venv, I just have to delete the .venv dir.

[–] oscar 1 points 1 year ago (5 children)

I've been using pipenv for a good while but I've started to move over to venv slowly, and I like it so far. It's a bit more of manual work but I feel like it's worth it.

[–] stOneskull 2 points 1 year ago

i've moved to just using conda environments. i find it's a lighter load on my old brain.

load more comments (4 replies)
load more comments (7 replies)