Use Flask framework to build a test pile (a) - environmental structures

In a recent study using Flask framework to build test piles, in the course of the development environment to build encountered some problems, some methods found in the online and resolve, after looking for some expert advice can not be found online are resolved, these experiences for beginners He said very valuable, so make a note.

I made reference to the environment to build network text  https://www.cnblogs.com/yuxuefeng/p/9235431.html   , PyCharm and Anaconda are also downloaded from the Internet, nothing special. However, personal use of Anaconda feeling for beginners or some inconvenience, for example, some libraries are installed in the anaconda method rather special environment, pay special attention to check the information. Now Closer to home, on the installation steps have not elaborated on the Internet, just do the following records to the problems encountered. 

 

Question 1: Installation flask library, py not prompt an internal or external command (before installing flask, python has been installed and configured environment variables)

 Found on the Internet that is to install python starter, but I did not download the python launcher, and finally with a little brother python developed methods to solve this problem.

【Solution】

The first step: reload Anaconda, pay attention to check this setting 

 Step two: Enter conda install flask flask mounted on the command line CMD

Successful installation 

 

Question 2 : Install the flask-restful fail

 【Solution】

To solve this problem, I check in online information  https://www.cnblogs.com/hellojiaojiao/p/10790273.html

The final installation command is: conda install -c https://conda.anaconda.org/conda-forge flask-restful

Successful installation 

Guess you like

Origin www.cnblogs.com/superhelenblogs/p/11683560.html