After upgrading to Google Cloud SDK version 184.0.0
, I started to get this error whenever trying to access my app's URLs - "ImportError: No module named ipaddr"
The full log looked like this...
Running `gcloud version`
gave these results...
As the error suggested the ipaddr
module file was missing from the google-cloud-sdk/platform/google_appengine
directory. The fix was to get a copy of this file from google's GitHub repository manually.
I used downloaded the file from this location
Then I moved the file to the google-cloud-sdk/platform/google_appengine
Once the file was in place and the dev server was restarted, the error went away and I could start testing my app again.
A quick disclaimer...
Although I put in a great effort into researching all the topics I cover, mistakes can happen.
Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.
All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle).
Use of any information contained in this blog post/article is subject to this disclaimer