1.Creating virtual environments.
On Windows,just run the command like this.
if you don’t have the relevant PATH settings,you may have to invoke the pyvenv script as follows.
c:\Python35\python c:\Python35\Tools\Scripts\pyvenv.py venv
A virtural environments directory will be created when you run the command
2.Activate the virtual environments.
Once a venv has been created,it can be “activated” using a script in the venv’s binary directory,on Windows,in the Command-Prompt,we can run
venv\Scripts\activate.bat
to activate the virtual environments directly.
3.Install Flask.
Now,we are in the activated virtual environments,just run
pip install Flask
command,a few seconds later,the installation is complete.
4.Install pypyodbc
Still in virtual environments in Ccommand-Prompt,just run
pip install pypyodbc
to install it,look at the screenshot below.