【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决

目录

0.环境

1)问题截图:

2)错误发生原因:

1.解决思路

2.具体步骤


0.环境

windows 11 64位,Eclipse 2021-06

1)问题截图:

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第1张图片

2)错误发生原因:

由于我手欠,将eclipse文件夹下的配置文件删掉了,所以新建pyDev项目是会给出提示“未指定项目的解释器”,英文原提示位【Project interpreter not specified】

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第2张图片

1.解决思路

重新配置解释器即可

2.具体步骤

1)进入首选项新建解释器

点击【窗口】-【首选项】

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第3张图片

找到【pyDev】-【Interpreter】-【Python Interpreter】

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第4张图片

选择【New】-【Browse for python/pypy exe】

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第5张图片

在弹出的窗口中,选择你本机的【ython.exe】运行程序

我直接选择了我anaconda中的python.exe

点击【打开】

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第6张图片

给解释器起个名字,我的叫【pyDev】,点确定

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第7张图片

再点确定

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第8张图片

等框内加载出内容后,点击【应用】

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第9张图片

配置中

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第10张图片

完成后点击【应用并关闭】

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第11张图片

2)配置完成,重新新建项目,错误提示已经消失

记得在【Interpreter】选项中选择上一步命名的解释器

【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决_第12张图片

至此,问题已解决

--END--

你可能感兴趣的:(Eclipse,eclipse,ide,python)