Closed julian-wang closed 9 years ago
Hi Julian. What exactly did you run?
Ok, found it and fixed it. If you pip install geodis>=2.0.5 it works fine. Thanks!
Thanks for your reply. I have solved this problem.
@julian-wang there were a bunch of bugs on 2.0.3 resulting from a bad PR merged. just update to the latest and it's all fine. we've also added travis integration to make sure this doesn't happen again.
File "/usr/local/lib/python2.7/dist-packages/geodis-2.0.3-py2.7.egg/geodis/city.py", line 57, in init self.country = countries.get( kwargs.get('country', None), kwargs.get('country', '')).strip() AttributeError: 'list' object has no attribute 'get' Could not import geonames database...