【学习python】eclipse导入Flask报错,但程序执行正常
2014-09-29 16:17
387 查看
来源:http://stackoverflow.com/questions/14997336/how-to-make-eclipse-pydev-happy-to-see-flask-extensions-on-windows
The Eclipse uses static analysis of modules by default.
import list dynamically. To force dynamic analysis using Python shell add
forced builtins list.
Go to
enter
This requires PyDev to forcefully analyze module through a shell.
The Eclipse uses static analysis of modules by default.
flask.extbuilds
import list dynamically. To force dynamic analysis using Python shell add
flask.extto
forced builtins list.
Go to
Preferences -> PyDev -> Interpreters -> Python Interpreter. Select your interpreter, go to
Forced Builtinstab. Click
New...and
enter
flask.ext.
This requires PyDev to forcefully analyze module through a shell.
相关文章推荐
- CGI程序学习(2)-CGI执行Shell脚本后无法在浏览器正常显示问题
- 用Eclipse编写Python程序(导入已有模块)
- Python学习笔记-模块介绍(二)-模块导入和执行
- Eclipse中pydev开发,python重载__init__报错,是可以正常执行
- 解决python在eclipse运行正常在命令行里运行提示包导入错误
- 【Python学习系列四】Python程序通过hadoop-streaming提交到Hadoop集群执行MapReduce
- 关于Gson.jar导入正常使用,代码无错,但程序执行解析时崩溃的一些问题
- Python学习——Eclipse中运行python程序
- 【Python学习笔记(二)】:在centos上部署flask程序
- Python学习笔记(15)-Python代码转换为exe可执行程序详解
- Python学习笔记(二)——使用Eclipse开发Python程序
- Eclipse中pydev开发,python重载__init__报错,是可以正常执行
- Python学习笔记(二)Pytho解释器和程序开发、执行过程
- 重装系统后,导入的某个程序在eclipse中显示方框乱码,而记事本中打开正常
- 崩溃的Python学习过程1—— 用Eclipse编写Python程序(windows)
- [导入]WinForm程序如何等待多个线程执行完后提示用户?
- 手工将python程序发布为exe执行程序 [转]
- 手动制作python的exe可执行程序
- 一步步学习汇编系列(6)-从一个简单的程序谈编译,连接,执行,跟踪的原理
- 多文件程序集构建学习的心得(针对可执行程序集初步学习的小结)