3 ms·
Venv is the simplest - it comes in the Python standard library and gives you the basic tools to manage virtual environments. You can start with it and see how f
by s1t5 6y ago
Venv is the simplest - it comes in the Python standard library and gives you the basic tools to manage virtual environments. You can start with it and see how far it gets you. If you need to manage multiple versions of Python then try pyenv or conda.
- Doxin 6y agoVenv can fairly easily manage multiple python versions too. Just run "pythonX.Y -m venv" instead of "python venv" and it'll create a venv for the specified python version.
- s1t5 6y agoHow so? If there is no pythonX.Y on path nothing will happen.
- Doxin 6y agoInstalling any arbitrary python version is a rather simple affair on most platforms. On windows you simply run another installer, and on linux you can usually install a package for a specific version. Once you've got the right python version somewhere on your system you can start creating venvs. Of course there are tools out there which will automagically download the right python version when creating a venv but in my opinion that's neither easier nor harder.