Ask HN: Proper way to set up Python dev environment on Ubuntu?
Do you use venv, virtualenv, virtualenvwrapper, or pipenv?
Do you install pip from the Ubuntu repos or from "https://bootstrap.pypa.io/get-pip.py" ?
Every time I try to set up a Python environment I end up installing pip in 4 different ways and I don't know which version to use and it's a whole mess.
11 comments
[ 6.3 ms ] story [ 35.3 ms ] thread[1] https://github.com/pyenv/pyenv
[2] https://github.com/pyenv/pyenv-virtualenv
- pyenv-virtualenv
- poetry
This is for macOS, but it seems pretty straightforward. I https://duncanleung.com/set-up-python-pyenv-virtualenv-poetr...
I'm only a beginner and that is what I was told to use. It has environments too. Should I be using something else?
For everything else I think virtualenv is fine, bit unintuitive but fit for purpose (more or less).