scipy2018-geospatial-data icon indicating copy to clipboard operation
scipy2018-geospatial-data copied to clipboard

geopandas fails on binder

Open JarnoRFB opened this issue 7 years ago • 1 comments
trafficstars

I tried to run the notebooks on binder, but on importing geopandas I get the following error

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-05f10f3f66de> in <module>()
      2 
      3 import pandas as pd
----> 4 import geopandas
      5 
      6 pd.options.display.max_rows = 10

/srv/conda/lib/python3.6/site-packages/geopandas/__init__.py in <module>()
      2 from geopandas.geodataframe import GeoDataFrame
      3 
----> 4 from geopandas.io.file import read_file
      5 from geopandas.io.sql import read_postgis
      6 from geopandas.tools import sjoin

/srv/conda/lib/python3.6/site-packages/geopandas/io/file.py in <module>()
      1 import os
      2 
----> 3 import fiona
      4 import numpy as np
      5 

/srv/conda/lib/python3.6/site-packages/fiona/__init__.py in <module>()
     67 from six import string_types
     68 
---> 69 from fiona.collection import Collection, BytesCollection, vsi_path
     70 from fiona._drivers import driver_count, GDALEnv
     71 from fiona.drvsupport import supported_drivers

/srv/conda/lib/python3.6/site-packages/fiona/collection.py in <module>()
      7 
      8 from fiona import compat
----> 9 from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
     10 from fiona.ogrext import Session, WritingSession
     11 from fiona.ogrext import (

ImportError: /srv/conda/lib/python3.6/site-packages/fiona/../../.././libkea.so.1.4: undefined symbol: _ZNK2H58H5Object13openAttributeERKSs

This looks a bit similar to #16

JarnoRFB avatar Sep 11 '18 13:09 JarnoRFB

hi thanks for the report. Yes, this is broken due to some weird behavior that emerged recently between conda-forge and conda. We'll try to update the install environment shortly, but the fix at that issue should eventually resolve this if we can't fix it fast enough.

ljwolf avatar Sep 11 '18 18:09 ljwolf