ubuntu下安装google app engine

需要goog app engine的运行环境,结果翻找半天找不到怎么安装,做记录:

下载app engine , 地址如下:
https://cloud.google.com/appengine/downloads?hl=zh-TW

QQ图片20180428194745.png

到这个网页,找不到下载地址,但却有这么多环境的版本,现安装python,下载python 标准版:
![QQ图片20180428195005.png](https://upload-images.jianshu.io/upload_images/9676923-651a1b6528b830da.png?imageMogr2/auto-orient/strip%7[图片上传中...(QQ图片20180428195629.png-f9e00f-1524916599044-0)]
CimageView2/2/w/1240)

这几个都不是下载地址,而是app engine需要的环境安装包,还加入了google cloud sdk 的安装,都不管,


QQ图片20180428195005.png

下拉找到
Download and install the original App Engine SDK for Python.

点击,这里才是下载地址。


QQ图片20180428195222.png

在ubuntu下安装,所以选择linux版本,并且下面附带linux换将下的教程:
QQ图片20180428195629.png
To install on Linux:

Unzip the google_appengine_1.9.69.zip file that you downloaded, for example:
unzip google_appengine_1.9.69.zip
There is no App Engine installation script that you need to run after unzipping the files.

Add the google_appengine_1.9.69 directory to your PATH:
export PATH=$PATH:DIRECTORY_PATH/google_appengine_1.9.69/
Make sure Python 2.7 is installed on your machine using the following command:
/usr/bin/env python -V
The output should look like this: Python 2.7.[NUMBER]. If Python 2.7 isn't installed, install it now using the installation instructions for your Linux distribution.

解压:

unzip google_appengine_1.9.69.zip 

加入到环境变量里 /etc/profile

 sudo vim /etc/profile 

写入:

export PATH=$PATH:home/hades/google_appengine_1.9.69

完成!

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,058评论 19 139
  • 年轻的我们,总是很容易喜欢一个人,也很容易便不再喜欢一个人,我也是。 我喜欢过他,也喜欢过她,也喜欢过它,我这仅仅...
    早春和树L阅读 211评论 0 0
  • 今天翻旧文的时候突然发现被自己锁起来的日记里夹了一封旧情书,文字依旧的稚嫩,惹人发笑。我仔细认真的看了一遍,我是笑...
    咬着糖糖扯天下阅读 1,963评论 6 20
  • 难得的放松的周六,难得的被告知不用加班。不是觉得加班不爽,只是觉得这周想休息了。想放松一下,追一下好久没看的动漫,...
    初一初一阅读 219评论 0 1