python - 什么是 "Python interpreter None"?

标签 python google-app-engine app-launcher

我刚刚为 Google App Engines 创建了我的第一个应用程序,它被称为“Hello World”。这是 Google App Engines 入门教程的第一课。我在我的电脑上测试过它(我使用的是 Windows XP),它工作得很好——每当我用我的网络浏览器 (FireFox) 打开一个新窗口时,我总是能够看到这个短语 Hello, world!!!,这是它有效的证明。

在创建记事本文件之前,我不知道如何将记事本文件保存为 .py 文件。我问这个question here and quickly received an answer.

但是,后来我收到了一条对我的问题的评论:

"App Engine does not support Python 2.6. You will have better luck using a Python 2.5 release. Sad, but true."

所以我卸载了 Python 2.6.4 并安装了 Python 2.5.4。我还卸载了 Google App Engine Launcher 并重新安装了它。当我安装它时,弹出一个窗口说我的电脑上所有必要的先决条件都已找到。

但是,当我添加我现有的应用程序并想使用 App Engine Launcher 运行它时,弹出一条消息说:

"Python interpreter None not found. Cannot run project E:\python\helloworld. Please confirm these values in your Preferences, or take an appropriate measure to fix it (e.g. install Python)."

我尝试删除我的应用程序并重新创建它 - 但无济于事。我该怎么办?

最佳答案

嗯,基本上就是说它找不到你刚刚安装的 python 解释器。

看起来你在 Windows 上,所以检查你的环境变量,特别是 PATH 和 PYTHONPATH,它们可能仍然指向以前的 2.6 安装文件夹。

关于python - 什么是 "Python interpreter None"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1867657/

相关文章:

python - 如何在搜索函数中取消 OR 中的 AND?在 Odoo 9

java - App Engine 异常,如何在 Android 中捕获

android - 如何在 honeycomb/ics 上打开应用程序小部件选择器?

ios - iPhone/iPod Touch : Info. plist : Unable to verify icon dimensions, 找不到图标

android - AndroidManifest.xml 中的标签属性

python - 标准输出和冲洗?它是追加而不是冲洗

python - 如何给信件添加重音符号?

python - 计算数组中非 nan 值的数量

google-app-engine - 如何在谷歌应用引擎上设置环境变量?

google-app-engine - channel api 的 url 似乎为空(GAE channel )适用于 dev,不适用于 google