解决eclipse Pydev中import自己写的py文件时报错Unresolved import的方法

1.右键工程——properties 2.选择Pydev-Interface/Grammar,点击链接Click here to configure aninterpreter not listed 3.选择open interpreter preferences page 4.在图中Libraries右侧选择 new folder,再选择自己的模块(.py)文件的目录 5.最后apply即可
相关文章
相关标签/搜索