The error pops up when I try to run GeoPandas to_file. The error message is:
Traceback (most recent call last):
File "<pyshell#88>", line 1, in <module>
df.to_file('psuedo.shp')
File "C:\Python27\ArcGIS10.5\lib\site-packages\geopandas\geodataframe.py",
line 365, in to_file
to_file(self, filename, driver, schema, **kwargs)
File "C:\Python27\ArcGIS10.5\lib\site-packages\geopandas\io\file.py", line
64, in to_file
schema=schema, **kwargs) as colxn:
File "C:\Python27\ArcGIS10.5\lib\site-packages\fiona\__init__.py", line
183, in open
enabled_drivers=enabled_drivers, crs_wkt=crs_wkt)
File "C:\Python27\ArcGIS10.5\lib\site-packages\fiona\collection.py", line
156, in __init__
self.session.start(self, **kwargs)
File "fiona\ogrext.pyx", line 948, in fiona.ogrext.WritingSession.start
DriverIOError: 'utf8' codec can't decode byte 0xb9 in position 41: invalid
start byte
I've checked related questions and learned that this type of error is usually solved by convert the encoding of the related file. But I can't even find ogrext.pyx... Could anyone help me out? I'm new in python, using python2.7