I am trying to set up Google App Engine for Go; I'm following the Google tutorial, but when I go to serve my app (goapp serve) I get the following error:
C:\Python27\python.exe: can't find '__main__' module in 'C:\\Program Files (x86)
\\Google\\go_appengine' error while running go_appengine: exit status 1
I don't know if the double slashes are an issue. My "APPENGINE_DEV_APPSERVER" env var is set as "C:\Program Files (x86)\Google\go_appengine", which is where dev_appserver.py
is located.
I'm using Go GAE 64-bit on 64-bit Win 8.1. I have 32-bit Python 2.7 installed (as I mostly use GAE Python). I have tried setting up my Workspace using the "How to Write Go Code" tutorial, but I'm confused about how this relates to GAE Go. I have also created a blank "main.py" in the dir, and the error goes away, but the app doesn't serve a page.
Any suggestions?