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.
Hope you found this post useful...
...so please read on! I love writing articles that provide beneficial information,
tips and examples to my readers. All information on my blog is provided free of
charge and I encourage you to share it as you wish. There is a small favour I ask in return however -
engage in comments below, provide feedback, and if you see mistakes let me know.
If you want to show additional support and help me pay for web hosting and
domain name registration,
donations, no matter how small, are always welcome!
Use of any information contained in this blog post/article is subject to this disclaimer
Other posts you may like...