362
you are viewing a single comment's thread
view the rest of the comments
[-] infeeeee@lemm.ee 14 points 1 year ago* (last edited 1 year ago)

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.

[-] HorseFD@lemmy.buzz 1 points 1 year ago

Exactly, venv solves this issues for me

load more comments (8 replies)
this post was submitted on 29 Jun 2023
362 points (98.1% liked)

Programmer Humor

19187 readers
1203 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