python - Eclipse,PyDev "Project interpreter not specified”

标签 python eclipse pydev interpreter

我已经在 eclipse Luna 中安装了 PyDev。成功安装 PyDev 后,当我想创建一个新项目时,出现错误: 未指定项目解释器

我该如何解决?解释器没有可供选择的选项。

eclipse 版 Luna, Mac OSX 优胜美地, PyDev最新版本(根据http://pydev.org/manual_101_install.html安装)

enter image description here

最佳答案

在我的情况下,它已经完成了以下步骤

先决条件:应安装 Python

  1. 转到 Window -> Preferences -> PyDev -> Interpreters 并点击“Python Interpreter”。
  2. 然后单击新建按钮并添加 python 可执行文件位置。

Example for windows:

c:\python2.7\python.exe

example for ubuntu:

/usr/bin/python
  1. 然后你可以附加图片并点击完成。

It should work.

关于python - Eclipse,PyDev "Project interpreter not specified”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30970697/

相关文章:

python - 有没有一种快速的方法来减少 Python 中多行的缩进?

python - 计算最接近的数字numpy

eclipse - 如何将 ecore (EMF) 转换为 xsd

python - 使用元素树打印 XML 标签属性

java - 在 Eclipse 中,如何多次运行 JUnit 测试用例

php - Android 图片上传到服务器,HTTP 响应为 200,但文件未上传

Python - 变量未定义,但我认为是

eclipse - IPython 在 PyDev 控制台中不可用

python - 如何在本地错误日志文件中获取 Redshift 错误?

python - 使用 OpenCV readNetFromTensorFlow : Error: Unknown layer type Shape in op decoder_stage0_upsampling/Shape 运行 Keras DNN 模型 (UNet)