1. Download the Google App Engine SDK
Link : GAE SDK
目標安裝在MAC
Go requires Python 2.7.x; don’t use a higher version. (The Go SDK uses tools from the App Engine Python SDK, so Python is required.) Make sure Python 2.7 is installed on your machine using the following command:
/usr/bin/env python -V
先使用/usr/bin/env python -V
確認版本在2.7.x
然後分別在$HOME/.profile
和$HOME/.bashrc
加入export PATH=/path/to/go_appengine:$PATH
範例:
我的GO GAE放在/Applications/go_appengine/
因此要填入的是export PATH=/Applications/go_appengine:$PATH