Skip to content

Fiona install fails with libpoppler error #62

@jorisvandenbossche

Description

@jorisvandenbossche

Our pandas CI where we test downstream packages including geopandas just started failing:

================================== FAILURES ===================================
________________________________ test_geopandas ________________________________
[gw1] linux -- Python 3.6.3 /home/travis/miniconda3/envs/pandas/bin/python
    def test_geopandas():
    
>       geopandas = import_module('geopandas')  # noqa
pandas/tests/test_downstream.py:97: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pandas/tests/test_downstream.py:19: in import_module
    return importlib.import_module(name)
../../../miniconda3/envs/pandas/lib/python3.6/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:994: in _gcd_import
    ???
<frozen importlib._bootstrap>:971: in _find_and_load
   ???
<frozen importlib._bootstrap>:955: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:665: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:678: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
../../../miniconda3/envs/pandas/lib/python3.6/site-packages/geopandas/__init__.py:4: in <module>
    from geopandas.io.file import read_file
../../../miniconda3/envs/pandas/lib/python3.6/site-packages/geopandas/io/file.py:3: in <module>
    import fiona
../../../miniconda3/envs/pandas/lib/python3.6/site-packages/fiona/__init__.py:69: in <module>
    from fiona.collection import Collection, BytesCollection, vsi_path
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    import logging
    import os
    import warnings
    
    from fiona import compat
>   from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
E   ImportError: libpoppler.so.66: cannot open shared object file: No such file or directory
../../../miniconda3/envs/pandas/lib/python3.6/site-packages/fiona/collection.py:9: ImportError

The logs are here: https://travis-ci.org/pandas-dev/pandas/jobs/306469511#L2019. You need to expand line 541 "$ ci/install_travis.sh" to see the install logs. As far as I can see, everything is coming from conda-forge, and there are no downgrades/changes that could mess things up after fiona and geopandas are installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions