How do I activate a virtual environment in Windows 7
To Create and activate a Virtual Env for project on windows, navigate to your project directory on your command line window and run the following commands


To create - python -m venv your-env-name
To activate - your-env-name\Scripts\activate.bat
I currently need to work on a flask project, to do that, I need to activate a virtual environment for my project. Virtual environment has already been installed at Python37\Scripts folder, but each time I want to activate the virtual environment by running C:\Users\user\Desktop\flask-intro\venv\Scripts>activate. <flask-intro is my project folder>. I get an error that says 'activate' is not recognized as an internal or external command, operable program, or batch file. What could be the issue.