https://share.streamlit.io/alibama/streamlit-example
i’m just trying to load some shape files in to streamlit and want to use geopandas to read the files in from github where i’ve added them…
i’ve got the following libraries in my requirements.txt file
altair
pandas
streamlit
shapely
fiona
pyproj
gdal
geopandas
and am getting the following error
File "/home/appuser/.local/lib/python3.7/site-packages/streamlit/script_runner.py", line 332, in _run_script
exec(code, module.__dict__)
File "/app/streamlit-example/streamlit_app.py", line 41, in <module>
city = gpd.read_file("https://github.com/alibama/streamlit-example/blob/master/planning_area_09_03_2020.shp")
File "/home/appuser/.local/lib/python3.7/site-packages/geopandas/io/file.py", line 96, in _read_file
with reader(path_or_bytes, **kwargs) as features:
File "/home/appuser/.local/lib/python3.7/site-packages/fiona/collection.py", line 556, in __init__
encoding='utf-8', **kwds)
File "/home/appuser/.local/lib/python3.7/site-packages/fiona/collection.py", line 162, in __init__
self.session.start(self, **kwargs)
File "fiona/ogrext.pyx", line 540, in fiona.ogrext.Session.start
File "fiona/_shim.pyx", line 81, in fiona._shim.gdal_open_vector