this post was submitted on 29 Jun 2023
351 points (97.6% liked)

Programmer Humor

19480 readers
609 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.

[–] [email protected] 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.

[–] [email protected] 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)