virtualenv is not recognized as an internal or external command, operable program or batch file
This tutorial will explain how to solve the error 'virtualenv' is not recognized as an internal or external command, operable program or batch file while doing setup for Python virtual environment.
D:\PythonCrudExample> virtualenv crudProject
'virtualenv' is not recognized as an internal or external command,
operable program or batch file.
virtualenv' is not recognized as an internal or external command, operable program or batch file
Follow the steps below to resolve the error message that appears when using a virtual environment that was generated for a
project using virtualenv crudProject
command.
- Execute
pip uninstall virtualenv
. - Execute
pip install virtualenv
- And then run
virtualenv crudProject
Refer details steps of Python and Flask Virtual Environment Setup