python:pycharm找不到python interpreter或者invalid python interpreter

之前python安装在D盘,并且用pycharm已经编译运行过该工程,之后卸载了python重装到C盘,导致再次运行该工程的时候一直提示invalid python interpreter,因为pycharm一直会关联之前D盘的python,解决方法是先清理编译文件,再运行工程,就可以重新设置python interpreter了。

选中工程,右键选择“clean python compiled files”.

python:pycharm找不到python interpreter或者invalid python interpreter_第1张图片

你可能感兴趣的:(python,python,pycharm,开发语言)