|
阅读:27326回复:0
Pycharm 运行时,提示:no python interpreter configured for the project
在Pycharm 中运行python 代码时,提示:
no python interpreter configured for the project 这个是,python.exe 的路径配置不正确。 解决方法: 1. file -> settings -> project Interpreter -> 选择下拉列表中的show all 图片:error1.jpg
2. 选择show all , 出现以下的界面 , 点击减号,删除其它的python.exe 路径 图片:error2.jpg
3. 点击 + 号, 选择Add Local , 找到python 安装路径下的python.exe,如下图 图片:error3.jpg
图片:error4.jpg
4. 添加成功后,在选择添加的安装路径下的python.exe , 点击确定,就OK了 图片:error5.jpg |
|
