Create a flask project with pycharm

 New projects directly flask, runtime error, saying that no module named flask

 

In the file → settings

 Add keys which select +

 

 Originally the process is, but I show Error loading package list when searching: connect timed out

Thus reference    https://blog.csdn.net/qq_17786287/article/details/102790814   and    https://blog.csdn.net/TyuansushiT/article/details/81836732

At last

 

 We're done! ! !

Guess you like

Origin www.cnblogs.com/tangkx/p/11923018.html