About the history of flask here do not introduce more.
First of all, the official tutorials are introduced to the use of virtualenv. Personally think that if the first contact with the Python Web application, it is not available here, after all, there is no access to many projects, so there is no official manual said that too many items will exist in the library version of the conflict caused by the situation.
The following is a different system installation, detailed introduction.
Windows
Because the PIP command is used to install flask, the PIP command can be downloaded by easy_install.py file. Open the directory of the file double-click Run installation. (If you click the link does not download the file but jump to the page that shows the contents of the file, create a new easy_install.py file, and then copy the contents of the content to save, then double-click to run the installation.) )
Add some Python commands to the system variables to make it easy to run directly later. If the installation path for Python is C:\Python, the C:\Python\Scripts is added to the path. How to do this: Right-click on the "My Computer" icon and click "Properties" in the pop-up menu. Then click "Advanced System Settings" (If Windows XP, click on "Advanced" paging). Then click on the "Environment variables" button and double-click the "Path" variable in the "System Variables" section. Remember to split the semicolon with the content that the path already exists.
Open Run, enter
Easy_install pip
After the installation is successful, run
Install Flask
OS X/linux
sudo Install Flask
The Official handbook does not seem to recommend this.
The official recommendation is to install flask in the virtualenv.
Flask Getting Started (i)-----------installation