1.在project(watip)右击打开菜单 ->选择properties->选择"PyDev-Interpreter/Grammar"->点击链接"Click here to configure an interpreter not listed." -> 在"Libraries"tab内,点击"new folder",假如项目中"src"的路径->点击"ok"
3.重启eclipse. 4.找到错误处CRTL+1,设置为全局import即可1.在project(watip)右击打开菜单 ->选择properties->选择"PyDev-Interpreter/Grammar"->点击链接"Click here to configure an interpreter not listed." -> 在"Libraries"tab内,点击"new folder",假如项目中"src"的路径->点击"ok"
3.重启eclipse. 4.找到错误处CRTL+1,设置为全局import即可