1.右键点击项目,选择Properties-->Pydev-Interpreter/Grammar
2.点击"Click here to configure an interpreter not listed",选择标签项"Forced Builtins",点击New,输入unresolved import引用不成功的模块名,强制编译
3.应用完成后重启eclipse,就解决问题了
2024-01-14 18:14:28
1.右键点击项目,选择Properties-->Pydev-Interpreter/Grammar
2.点击"Click here to configure an interpreter not listed",选择标签项"Forced Builtins",点击New,输入unresolved import引用不成功的模块名,强制编译
3.应用完成后重启eclipse,就解决问题了