MacHu-GWU / uszipcode-project

USA zipcode programmable database, includes up-to-date census and geometry information.
MIT License
231 stars 49 forks source link

Trying to import Zipcode from uszipcode is failing #59

Closed pyDesi closed 2 years ago

pyDesi commented 2 years ago

After successfully installing uszipcode, trying to import Zipcode is failing

My Code

!pip install uszipcode from uszipcode import Zipcode

This was working just fine for me about a month back on colab but is now consistently failing on my google colab

ImportError Traceback (most recent call last)

in () 1 get_ipython().system('pip install uszipcode') ----> 2 from uszipcode import Zipcode ImportError: cannot import name 'Zipcode' from 'uszipcode' (/usr/local/lib/python3.7/dist-packages/uszipcode/__init__.py)
MacHu-GWU commented 2 years ago

@pyDesi totally working in colab for me. maybe more information about your runtime?

image