seanpianka / Zipcodes

A simple library for querying U.S. zipcodes.
MIT License
78 stars 15 forks source link

import zipcodes gives a TypeError #1

Closed Lvl4Sword closed 6 years ago

Lvl4Sword commented 6 years ago

TypeError: the JSON object must be str, not 'bytes'

abuchanan920 commented 6 years ago

I'm receiving the same error when running within an Ubuntu Xenial based docker container with Python 3.5. It ran fine locally on my Mac under Python 3.6.4 (Anaconda).

gwaramadze commented 6 years ago

confirming, just got the same on Python 3.5.3

seanpianka commented 6 years ago

Apologies for the delay, I'll begin working on a patch for Python 3.5.* now.

seanpianka commented 6 years ago

@Lvl4Sword @abuchanan920 @gwaramadze This issue should now be resolved for Python 3.5.* and (hopefully) any older versions that were experiencing these issues.