Carmen-Python: the JSON object must be str, not 'bytes' -
i've been using carmen geolocate tweets several months, , it's been working fine carmen-python repository downloaded. however, 3 months ago made changes support python 3.5. had re-clone repository, , when try run carmen on same tweet files using before, gives me error
"typeerror: json object must str, not 'bytes'". i figure error in cli.py file. tried add "encoding='utf-8'" in line 47 found in this question, , got rid of b's in "rb" , "wb" in line 67, new error got was
"typeerror: write() argument must str, not bytes" which i'm guessing refers line 111, don't know how fix one. there way can fix this, or need wait them fix it?
Comments
Post a Comment