4 ms·
+1 to pyenv. And it's even better if you combine it with pipenv [1]: pipenv manages dependencies its own file (Pipfile) which can also specify the required Pyth
by fidelramos 6y ago
+1 to pyenv. And it's even better if you combine it with pipenv [1]: pipenv manages dependencies its own file (Pipfile) which can also specify the required Python version. Pipenv integrates with pyenv so if the required Python version is not available it will offer to download and install it.
Tldr; with pyenv and pipenv installing a Python project is just "pipenv install".
[1] https://pipenv.pypa.io/en/latest/ https://pipenv.pypa.io/en/latest/
- strbean 6y agoI would strongly recommend taking a look at Poetry as an alternative to Pipenv. Pipenv is honestly a nightmare.
- kstrauser 6y agoI regret I can only upvote this once. Pipenv still gets press, but I'm not sure why. Every senior dev I know switched to Poetry long ago.
- fidelramos 6y agoI have been using pipenv only on a couple of projects and for a few months, but it has been an improvement over pip and virtualenv. Why do you say Pipenv is a nightmare? Have you had bad experiences with it?