解決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即可
相關文章
相關標籤/搜索