Closed withoutwaxaryan closed 2 years ago
Hi, is the fix up on PyPi already? I'm getting the same error with
with open("/content/001AAN005121.kml", 'rt', encoding="utf-8") as myfile:
doc=myfile.read()
k.from_string(doc)
Changing it to
with open("/content/001AAN005121.kml", 'rt', encoding="utf-8") as myfile:
doc=myfile.read()
k.from_string(bytes(doc))
Gives TypeError: string argument without an encoding
Hi,
Can you check if the changes in the linked PR works for you?
Yes I have done that and it works well, thanks!
When you try to run
examples/ReadKml.py
&examples/UsageExamples.py
, the following error arises :