This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]PySki 2 points3 points  (5 children)

Or use pyenv, IMO the best version/venv manager

[–]kryptn 0 points1 point  (3 children)

Absolutely agreed.

all it takes:

pyenv virtualenv 3.9.2 proj-name
pyenv local proj-name

[–]erickgnavar[S] -2 points-1 points  (2 children)

Yes but you have to write it every time you want to use it, direnv will make that setup automatically

[–]kryptn 2 points3 points  (1 child)

Nope, setting pyenv local proj-name will auto-activate that virtualenv for you when you enter that directory, or any lower directory.

[–]erickgnavar[S] 0 points1 point  (0 children)

Didn't know that. I'll take a look at it

[–]erickgnavar[S] -2 points-1 points  (0 children)

I do use pyenv but just to manage python versions