You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [1]: from osgeo import osr
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-f3ebf498af2a> in <module>()
----> 1 from osgeo import osr
~/miniconda/envs/gf/lib/python3.5/site-packages/osgeo/__init__.py in <module>()
19 fp.close()
20 return _mod
---> 21 _gdal = swig_import_helper()
22 del swig_import_helper
23 else:
~/miniconda/envs/gf/lib/python3.5/site-packages/osgeo/__init__.py in swig_import_helper()
15 if fp is not None:
16 try:
---> 17 _mod = imp.load_module('_gdal', fp, pathname, description)
18 finally:
19 fp.close()
~/miniconda/envs/gf/lib/python3.5/imp.py in load_module(name, file, filename, details)
241 return load_dynamic(name, filename, opened_file)
242 else:
--> 243 return load_dynamic(name, filename, file)
244 elif type_ == PKG_DIRECTORY:
245 return load_package(name, filename)
~/miniconda/envs/gf/lib/python3.5/imp.py in load_dynamic(name, path, file)
341 spec = importlib.machinery.ModuleSpec(
342 name=name, loader=loader, origin=path)
--> 343 return _load(spec)
344
345 else:
ImportError: /home/emthompson/miniconda/envs/gf/lib/python3.5/site-packages/osgeo/../../../libgdal.so.20: undefined symbol: _ZN9kmlengine4Href5ParseERKSs
It took a while to identify this as the problem because it does not occur in OSX (same version of gdal), which is what I use for development. It originally showed up as a segmentation fault on Travis CI with pytest. I can provide that info if it would be helpful. The same unit tests with the same install scripts were passing on Travis yesterday.
Issue:
The following import fails in linux:
It took a while to identify this as the problem because it does not occur in OSX (same version of gdal), which is what I use for development. It originally showed up as a segmentation fault on Travis CI with pytest. I can provide that info if it would be helpful. The same unit tests with the same install scripts were passing on Travis yesterday.
Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: