Window -> Preferences -> Pydev -> Interpreter – Python
Just remove the default interpreter and add a new one (it can be the same one you had before). Pydev/Eclipse searches through your Python Installation directory and adds the correct paths to your PYTHONPATH. I restarted and all was well.
删除Python路径,然后添加Python路径。如果不行,再project->clean就OK了。