- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
我刚刚更新了 google-cloud-sdk,现在 dev_appserver 使用的是 goroot 1.6 而不是 1.8,所以很多东西都没有被识别。到处都看过,我如何告诉 dev_appserver 使用 goroot 1.8 而不是 1.6 ?这看起来微不足道。
最佳答案
Go App Engine SDK 使用 1.6,无法在 App Engine 中运行更高的 Go 版本。
他们的系统经过微调以使用特定版本和功能子集。像 App Engine 这样的大型生产环境必须经过大量的研发才能推出新的 SDK 版本。您只需要等待新版本的出现并使用可用的版本即可。
也就是说,如果您真的需要使用更新版本的 Go,您始终可以启动 Compute Engine 服务器,但您会失去标准或弹性环境的所有便利,例如自动缩放。
编辑:截至 2017 年 6 月 27 日,他们已在 SDK 中启用 Go 1.8 作为测试版。请在此处查看发行说明中的信息:https://cloud.google.com/appengine/docs/standard/go/release-notes
June 27, 2017
Go runtime notes
Updated Go SDK to version 1.9.55 Enable the Go 1.8 beta This release adds beta support for go1.8. To use Go 1.8, set api_version: go1.8 in your app.yaml configuration file. You must also use App Engine SDK, not Cloud SDK. To download the App Engine SDK, go to the Downloads page and at the bottom of the page, expand the Or, you can download the original App Engine SDK for Go section.
但请注意,即使到 2017 年 10 月 3 日,他们仍然称其为 1.8 beta。
October 3, 2017
Updated Go SDK to 1.9.59 Fixed bug in dev_appserver.py which used incorrect build constraints for the Go 1.8 beta.
EDIT2:稍加修改后,如果 goapp version
仍然打印 1.6.4
,请不要 panic ,它默认为这个。您必须位于包含 app.yaml
且 api_version: go1.8
的目录中,否则它不会显示。基本目录中的 goapp
是一个脚本,用于解析 app.yaml
以确定使用哪个版本。
关于google-app-engine - dev_appserver 使用 goroot 1.6 而不是 1.8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46694813/
如何干净部署到应用程序引擎开发服务器中? 我正在使用 google app-engine java 和命令行工具(ant、ant runserver)。 当我通过 Chrome 提交新请求时,我从旧代
我安装了谷歌云应用程序引擎开发服务器和数据存储模拟器的所有环境。我首先运行数据存储模拟器。 gcloud beta emulators datastore start 并启动 dev-appengin
我正在尝试获取使用 Windows 7 的基本 GAE 教程。 到目前为止我已经: 已安装 python 2.5.4 安装了当前的 GAE SDK 设置我的 PATH 变量以包含 python 和 G
我正在测试我的应用程序的两个版本的架构更改。我使用版本 1 生成测试数据,现在我想将该数据带入版本 2 以运行和测试转换器。这在 appengine 上很容易做到,因为数据存储在版本之间保持不变,但我
在过去几个月的某个时候,dev_appserver.py 完全停止重新加载我的 Google App Engine 项目中更改的代码。不幸的是,由于我的开发差距与应用服务器平台中的至少一个版本更改同时
我正在尝试在开发中启用发送电子邮件。所以我需要运行服务器。我在我的应用程序所在的名为“交易”的目录中。(请参阅 pwd 和 ls) Kenzos-MacBook-Pro:trade kenzotaka
我一直在按照这里的教程尝试在 Google 应用引擎上构建应用: https://github.com/GoogleCloudPlatform/appengine-django-skeleton 虽然
在 OS X Lion 上将 GAE 升级到 1.7.6 后,我在运行 dev_appserver.py 时遇到无法解决的错误。它在以前的版本中运行良好。最初错误说我需要使用 pip 安装 PyObj
当使用 dev_appserver.py 启动本地开发服务器时,出现以下错误。 $ dev_appserver.py app.yaml INFO 2017-07-03 06:51:09,662
我正在使用 Google 的 AppEngine 开发网络应用程序。我想使用 dev_appserver.py 在本地迭代代码。但是,如果我部署的应用程序的数据存储区中没有所有数据,就很难做到这一点。
我一直在阅读字里行间的内容,并尝试将 dev_appserver.py 与新的“非遗留”谷歌云数据存储模拟器连接起来。 我的主要动机是在本地机器上开发时将我的应用引擎项目与我的谷歌云数据流管道集成。
我正在尝试将几个 python 项目上的 GAE 运行时从 python37 升级到 python38。我在部署之前使用 dev_appserver.py 在本地测试应用程序,但在将运行时更改为 py
这里肯定缺少一些非常愚蠢的东西。此 GQL 查询: q_count = Questions.gql('WHERE questionnaire = :1 AND deleted = False AND
当我在 Windows 命令提示符中键入“dev_appserver.py”时,我收到: 回溯(最近一次调用最后一次): 文件“C:\Users\computername\AppData\Local\
如何使用 remote_shell_api.py 进行连接到以 dev_appserver.py 开头的 Google App Engine 开发实例(1.9.26+)? 从命令行我得到: $ rem
更新 By adding BeautifulSoup.py to my app source, this error was gone :) 感谢@Ned Deily,这花了一些时间,但富有成效 从
我有一个在 AppEngine 上运行良好的应用程序。但是,当我尝试使用 dev_appserver.py 在本地运行它时,它会在 ~1 秒内中止: ~/ dev_appserver.py -
我已经搜索了许多 python 问题,但似乎没有一个对我的问题有帮助,或者我只是不太了解它来解决问题。基本上我正在尝试学习 python 所以在我的 mac 上的过程中我已经安装了几个版本并且有很多版
在我的 GAE 应用程序中,我尝试这样做: from PIL import Image 得到这个: Traceback (most recent call last): ... File "/
请帮忙!这是我使用应用程序引擎的第一个项目。我已经使用所需的文件创建了该应用程序。但是,当我尝试在云 sdk cmd(和其他 cmd 程序)中启动服务器时,它返回与方法解析顺序 (MRO) 相关的错误
我是一名优秀的程序员,十分优秀!