Which command is used to create a virtual environment in Python using virtualenv?
Correct answer
D. virtualenv
17 views
D. virtualenv
17 views
The 'virtualenv' command is used to create a virtual environment in Python using the virtualenv package. It creates a new directory containing a Python interpreter and a copy of the standard Python library, allowing you to install and manage dependencies separately for each project.
Not sure why the answer is D? Ask here and get an explanation.