Pydev say, “Unresolved import” error

前端 未结 11 1482
梦谈多话
梦谈多话 2020-12-10 17:42

hm.. Sometime, PyDev say \"Unresolved import error\". In my environment

Python2.6.6 Eclipse3.7 PyDev2.2.2

Errors are.

         


        
11条回答
  •  渐次进展
    2020-12-10 18:16

    Add site-packages path in environmental variables.

    Right click on

    computer -> properties -> advanced system settings -> Environmental variables

    .

    After that is done, remove the python interpreter and add it again in eclipse. right click project name in

    eclipse --> properties --> python interpreter

    .

    Hope it works.

提交回复
热议问题