To get it running
Create an environment Create a project folder and a venv folder within:
$ mkdir myproject $ cd myproject $ python3 -m venv venv
py -3 -m venv venv
If you needed to install virtualenv because you are using Python 2, use the following command instead:
python2 -m virtualenv venv
\Python27\Scripts\virtualenv.exe venv
Activate the environment Before you work on your project, activate the corresponding environment:
$ . venv/bin/activate
venv\Scripts\activate
Your shell prompt will change to show the name of the activated environment.
Within the activated environment, use the following command to install Flask:
$ pip install Flask