简体   繁体   English

Eclipse,PyDev“解释器在文件系统中不存在”

[英]Eclipse, PyDev “interpreter does not exist in filesystem”

I recently wanted to start programming with python and therefore set up my eclipse with PyDev. 我最近想用python开始编程,因此用PyDev设置我的eclipse。 Now, i followed the step-by-step Tutorial at 现在,我按照一步一步的教程进行操作

http://pydev.org/manual_101_interpreter.htm http://pydev.org/manual_101_interpreter.htm

l but when i create my first PyDev Project i get the error: l但是当我创建我的第一个PyDev项目时,我得到错误:

"The interpreter configured does not exist in the filesystem: python" “配置的解释器在文件系统中不存在:python”

I am using Eclipse 4.3, Python 2.7 and I installed PyDev via the eclipse 'Install new software' option. 我正在使用Eclipse 4.3,Python 2.7和我通过eclipse'安装新软件'选项安装PyDev。 I did not configure any Jython/IronPython interpreters and the following is how my python-interpreter preferences look like: 我没有配置任何Jython / IronPython解释器,以下是我的python-interpreter首选项的样子:

在此输入图像描述

Any help would be appreciated :) 任何帮助,将不胜感激 :)

这是一个引入的错误,作为PyDev解释器中最新更改的一部分(即使没有完整路径也应该工作 - 请在PyDev跟踪器上创建一个新问题: https//sw-brainwy.rhcloud.com/tracker/ PyDev /运行时得到的错误)。

I got the same issue after installing python. 安装python后我遇到了同样的问题。 Here are my findings and solution for it: 以下是我的发现和解决方案:

Findings: This issue occurs when pydev was not able to locate python interpreter. 结果:当pydev无法找到python解释器时,会出现此问题。

Solution: Configure the python path. 解决方案:配置python路径。 Steps: 脚步:

Launch Eclipse -> Click on Windows -> Preferences -> PyDev -> Interpreters -> Python Interpreter -> Then browse and change the python interpreter path. 启动Eclipse - >单击Windows - >首选项 - > PyDev - >解释器 - > Python解释器 - >然后浏览并更改python解释器路径。 Check below screen for this. 检查下面的屏幕。

NOTE: While installing python, we get a window where we get to see the path where python would be installed. 注意:安装python时,我们会看到一个窗口,我们可以看到安装python的路径。 So we can copy the same path here. 所以我们可以在这里复制相同的路径。

在此输入图像描述

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM