Search code examples
google-app-enginegoogle-cloud-endpoints

endpointscfg get an error google.appengine.ext


I want to create end point lib with this command

python lib/endpoints/endpointscfg.py get_client_lib java -bs src.service.mobile_api.MobileApi

but geting this error

from google.appengine.ext import vendor
ImportError: No module named appengine.ext

Solution

  • downlaod

     google-cloud-sdk
     https://cloud.google.com/sdk/docs/downloads-versioned-archives
    

    it this folder in Document directory then

    cd Document/google-cloud-sdk and run this command

    ./install.sh 
    

    after

    gcloud components install app-engine-python
    

    and update your lib directory with this command in your project like this

     cd /project/
    
     ls
    
     lib src etc 
    
     sudo pip install -t lib google-endpoints