[gdal-dev] GDAL Import Error with Anaconda
Sean Gillies
sean at mapbox.com
Tue Oct 29 15:07:31 PDT 2019
Hi,
This isn't the place to ask for conda and conda-forge help. Check out
https://github.com/conda-forge/gdal-feedstock/issues/324#issuecomment-519632735
and if you don't find the solution there, see
https://conda-forge.org/docs/user/how_to_get_help.html for the right help
forum. Good luck!
On Tue, Oct 29, 2019 at 2:12 PM Kristine Lister <listerkristine at gmail.com>
wrote:
> Hi everyone,
>
> I've been running into a new issue with installing GDAL in docker
> containers using anaconda. I get the following error when trying to import
> gdal in python:
>
> Traceback (most recent call last):
> File "georeference_rasters2.py", line 5, in <module>
> from osgeo import gdal
> File "/azureml-envs/azureml_e9a775e324129d22aa5680cb26b4a846/lib/python3.6/site-packages/osgeo/__init__.py", line 21, in <module>
> _gdal = swig_import_helper()
> File "/azureml-envs/azureml_e9a775e324129d22aa5680cb26b4a846/lib/python3.6/site-packages/osgeo/__init__.py", line 17, in swig_import_helper
> _mod = imp.load_module('_gdal', fp, pathname, description)
> File "/azureml-envs/azureml_e9a775e324129d22aa5680cb26b4a846/lib/python3.6/imp.py", line 242, in load_module
> return load_dynamic(name, filename, file)
> File "/azureml-envs/azureml_e9a775e324129d22aa5680cb26b4a846/lib/python3.6/imp.py", line 342, in load_dynamic
> return _load(spec)ImportError: libpoppler.so.76: cannot open shared object file: No such file or directory
>
>
> I install the following packages in the docker container using conda:
>
> RUN conda install -c conda-forge numpy pandas poppler rasterio gdal rasterstats
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Sean Gillies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20191029/1c21d680/attachment-0001.html>
More information about the gdal-dev
mailing list