Http://www.cnblogs.com/mizhon/p/4242073.html
[Eclipse]-resolves the unresolved import flask issue that occurs with the Import Flask module
Recently want to learn about flask, after installing the flask in Eclipse import flask module, found that there will be the following problems:
Google took a lap, the corresponding information are read, this several help (need FQ), I follow the first reference set a bit, red fork still not removed.
The second blog is in English and there is no picture without the truth, it did not look carefully (but actually solved the problem). Here is an illustrated record of your own settings.
1. Http://stackoverflow.com/questions/14997336/how-to-make-eclipse-pydev-happy-to-see-flask-extensions-on-windows
2. Http://blog.jasongiedymin.com/post/3855004203/make-eclipse-pydev-happy-to-see-flask-flask
Although the operation is not a problem, but it is always difficult to look at, there is a code neat people look certainly uncomfortable.
The solution is as follows:
1. Follow the first reference and set the steps as follows:
A) Select ' Windows ' > ' Preferences ' > ' Interpreter-python ' in eclipse
b) Tap forced builtins, click the ' New ' button, add flask.ext and confirm.
2. Tap Libraries Tab, click on the button on the right: ' New Folder ', select the installation path where flask is located and click OK (Eclipse will load).
3. Reboot and click ' File ' > ' Restart ' to restart Eclipse. Check the display status of the import flask. Look, Little Red fork really no! ~
[Eclipse]-resolves the unresolved import flask issue that occurs with the Import Flask module