NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ
for more details.
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.
If you spot something out of place, please do let me know.
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
Other posts you may like...