windows – goapp serve:无法找到dev_appserver.py
发布时间:2020-12-14 05:24:40 所属栏目:Windows 来源:网络整理
导读:使用go 1.2 python 2.7和appengine 1.8.9 dev_appserver.py在dos框中工作,位于windows路径中. goapp.exe也可以在dos框中工作,位于windows路径中. 知道为什么goapp.exe服务不起作用? 解决方法 产生此错误消息的 goapp/serve.go (“无法找到dev_appserver.py
使用go 1.2
python 2.7和appengine 1.8.9
dev_appserver.py在dos框中工作,位于windows路径中. goapp.exe也可以在dos框中工作,位于windows路径中. 知道为什么goapp.exe服务不起作用? 解决方法
产生此错误消息的
goapp/serve.go (“无法找到dev_appserver.py”)显示以下代码:
if p := os.Getenv("APPENGINE_DEV_APPSERVER"); p != "" { return p,nil } return "",fmt.Errorf("unable to find dev_appserver.py") 因此,仔细检查是否在使用goapp时,实际设置了APPENGINE_DEV_APPSERVER环境变量. @echo off :: Copyright 2012 Google Inc. All rights reserved. :: Use of this source code is governed by the Apache 2.0 :: license that can be found in the LICENSE file. setlocal set GOROOT=%~dp0goroot set APPENGINE_DEV_APPSERVER=%~dp0dev_appserver.py set GOARCH= set GOBIN= set GOOS= :: Set a GOPATH if one is not set. if not "%GOPATH%"=="" goto havepath set GOPATH=%~dp0gopath :havepath %GOROOT%bin%~n0.exe %* (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- winapi – 来自Windows上的GlobalMemoryStatusEx()的错误结
- windows-phone-8-emulator – Visual Studio 2015缺少模拟器
- windows – 从MAC地址获取IP. arp -a没有显示设备
- windows-7 – 如何在不刻录DVD或使用USB驱动器的情况下安装
- 预先登录的Windows登录?
- windows – 需要ActiveX控件才能将Excel嵌入到对话框中
- Windows Server 2016 与 Linux 的网络性能对比测试
- Windows上的nohup是什么?
- Win32 C在类中创建窗口和过程
- 增加windows中python的可用内存
推荐文章
站长推荐
- 如何使用Windows 7连接到C#中的websocket?
- 编写Windows x86程序集
- windows-server-2003 – Windows文件服务器性能调
- windows – 检索当前域用户的全名
- dll – 加载时间动态链接和运行时动态链接之间的
- Qt for Windows:Qt 5.11.0 MinGW 静态编译版本(
- com – 未发送IAudioSessionManager2通知
- Windows – 没有共享存储的Hyper-V Live迁移?
- windows-runtime – IOutputStream.FlushAsync的
- windows – 在HyperV上的分离磁盘上运行虚拟机
热点阅读