I am trying to build a project using Google Cloud Endpoints, following this guide: Quickstart for Cloud Endpoints Frameworks on App Engine.
I am stuck at the step of gen
I had the exact same problem and tried the same things. What worked for me was:
chmod +x lib/endpoints/endpointscfg.py
Then running the command again.
Rather than running it directly, try running it with Python, a la:
python lib/endpoints/endpointscfg.py get_swagger_spec main.EchoApi --hostname your-service.appspot.com
Tried that and it just worked for me. I'll try and make this better (either by fixing the docs or applying some fix in the repo), but that might get you what you need in the interim.