Deployment Error: Geospatial packages (gdal) failing with libodbc2 conflict

Hello Streamlit Community,

I’m having trouble deploying my geospatial app. I’m getting a persistent error during the installation of system packages defined in packages.txt. The error seems to be a dependency conflict related to libgdal-dev and libodbc2.

I’ve already tried several configurations in my packages.txt without success.

Error Log:
(Aquí pega el log de error completo que se ve en tu terminal, similar a la captura de pantalla que me enviaste)

Link to my GitHub repository:
(Aquí pega el enlace a tu repositorio público de GitHub)

Here are my configuration files:

packages.txt:
libgdal-dev
libproj-dev

requirements.txt:
streamlit
pandas
altair
folium
plotly
geopandas
scipy
prophet
streamlit-folium
numpy
branca
openpyxl
rasterstats
xarray
Pillow
rioxarray
statsmodels
scikit-learn
pymannkendall
gstools
rasterio
fpdf2
climate-indices

Could you please help me find the correct configuration to resolve this dependency conflict? Thank you!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.