Thursday, October 27, 2022

[SOLVED] Do I need virtualenv if I have tox?

Issue

According to the tox documentation, it is a "rel="nofollow noreferrer">virtualenv management tool". So, when I create a new project, do I still need virtualenv if tox can do a better job for multiple Python versions virtual environment setup?


Solution

As a follow-up to @sinorac s answer:

You can also use tox to create a development environment with the following command:

tox --devenv my-dev-env

where my-dev-env is an arbitrary name you can give you development environment.

For more information see our documentation: https://tox.wiki/en/latest/example/devenv.html#creating-development-environments-using-the-devenv-option



Answered By - Jürgen Gmach
Answer Checked By - Dawn Plyler (WPSolving Volunteer)