无法在eclipse中自动配置pydev [英] Cannot auto configure pydev in eclipse

查看:1698
本文介绍了无法在eclipse中自动配置pydev的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功安装了PyDev,我已经成功安装了python 3.4.0,并且包含python.exe的文件夹在我的路径中,我可以从命令行运行它。



但是,当我转到window\preferences\pydev\interpreters\python解释器并选择'quick auto-config'来配置它使用普通的python我得到一个错误,说'自动配置器找不到一个有效的解释器...注意,用于Jython的系统环境变量是PATH和PYTHONHOME。'



除非这是文本中的错误,否则我不会选择Jython(我得到一个跟踪如下:



错误获取发现的解释器的信息。
有关详细信息,请参阅错误日志。



java.lang.RuntimeException:java.io.IOException:无法运行程序python:CreateProcess error = 2,The系统找不到指定的文件



正如我所说,python.exe是在我的路径。

解决方案

您必须从这里分开安装实际的python包。 https://www.python。 org / download



关闭LiClipse / Eclipse =>下载Python在这里: https://www.python.org/download



=>重新打开LiClipse =>自动配置解释器将工作! / p>

I have installed PyDev successfully, I have python 3.4.0 installed successfully and the folder containing python.exe is in my path and I can run it from the command line.

However, when I go to window\preferences\pydev\interpreters\python interpreter and select 'quick auto-config' to configure it using normal python I get an error saying 'auto configurator could not find a valid interpreter... Note the system environment variables used for Jython are PATH and PYTHONHOME.'

Unless this is a bug in the text I am not selecting Jython (I get a different error if I select IronPython, btw, so this is not a generic error message).

The trace is as follows:

Errors getting info on discovered interpreter(s). See error log for details.

java.lang.RuntimeException: java.io.IOException: Cannot run program "python": CreateProcess error=2, The system cannot find the file specified

As I say, python.exe is in my path.

解决方案

You have to install the actual python package separately from here https://www.python.org/download

Close LiClipse/Eclipse => Download Python Here: https://www.python.org/download

=> reopen LiClipse => Auto Config for the interpreter Will WORK!

这篇关于无法在eclipse中自动配置pydev的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆