解决方法:打开pycharm->File->Settings->Project Interpreter->设置为你的python路径,我的是:C:\Python27\python.exe,你们根据各自python安装路径修改一下即可!