3 ms·
> When I cd to a repo/directory, the .envrc selects the correct Python For this you dont neet .envrc and direnv, as this is handled perfectly fine by peen itse
by mvanbaak 3y ago
> When I cd to a repo/directory, the .envrc selects the correct Python
For this you dont neet .envrc and direnv, as this is handled perfectly fine by peen itself: pyenv local <pyenv / virtualenv name>
- js2 3y agopyenv explicitly does NOT manage virtual environments: https://github.com/pyenv/pyenv https://github.com/pyenv/pyenv I use direnv because I work with many languages and repos and I don't want each language's version manager linked into my shell's profile. As well, direnv lets me control things besides the language version. Finally, direnv means I don't have to explicitly run any commands to set things up. I just cd to a directory.