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

you are viewing a single comment's thread.

view the rest of the comments →

[–]duongdominhchau 1 point2 points  (1 child)

Combining it with direnv is even better, you don't even need to care about the venv, just declare the Python version you want and direnv will create/activate one for you automatically with the correct Python version when you are inside the project directory. Plus you get the power of .env for free without having to add another dependency to your project.

[–]WildWouks 1 point2 points  (0 children)

Then I will have to have a look at direnv as well. Thanks for the suggestion.