Skip to content

geopandas install issue? #18780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jreback opened this issue Dec 14, 2017 · 8 comments · Fixed by #18984
Closed

geopandas install issue? #18780

jreback opened this issue Dec 14, 2017 · 8 comments · Fixed by #18984
Labels
Compat pandas objects compatability with Numpy or Python functions
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Dec 14, 2017

revert #18786

https://travis-ci.org/pandas-dev/pandas/jobs/316397406

./../../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.71: cannot open shared object file: No such file or directory

cc @jorisvandenbossche

@jreback jreback added the Compat pandas objects compatability with Numpy or Python functions label Dec 14, 2017
@jreback jreback added this to the 0.22.0 milestone Dec 14, 2017
@jorisvandenbossche
Copy link
Member

@ocefpaf are you currently updating packages? In the sense of: is it just waiting on travis to finish building, or should I report it somewhere?

@jorisvandenbossche
Copy link
Member

jorisvandenbossche commented Dec 14, 2017

@jreback it's a bit a problem for our ci, but basically every time some of the dependencies in the gdal dependency chain have to be updated, there is a short moment that one is updated and the other not, and we get such failures (AFAIU).

@ocefpaf
Copy link

ocefpaf commented Dec 14, 2017

@jreback and @jorisvandenbossche did you guys tried only the default channel lately? @msarahan and others did an amazing job of getting the latest recipes from conda-forge and building them in a more consistent way with conda-build 3. Also, b/c they are not limited by CIs, when they update a dependency all the stack is updated at once and things will be consistent quicker than in conda-forge.

@jorisvandenbossche
Copy link
Member

gdal is in a working state lately? (but it is a long time ago that I tried and had problems with it)

@jreback
Copy link
Contributor Author

jreback commented Dec 14, 2017

if its only temporary no problem.

@msarahan
Copy link

If gdal is not in a working state on defaults, please let me know.

@jorisvandenbossche
Copy link
Member

It's probably two years ago that I tried (and at that time there were problems), so I should probably first have tried before saying something like that .. :-)

But, trying, and I notice it still tries to get rtree, libspatialindex and geopandas from conda-forge, so I assume those are not available in defaults. At the moment this is probably not a problem, as neither of those build against gdal or geos.
But, shortly I hope, geopandas will start having geos as a build dependency, and then this mixing is probably more problematic. It is also a bit annoying to do the install to get the channel priority correct (but which is probably not a problem for our CI)

Anyhow, reading a simple shapefile is working fine.

@msarahan
Copy link

I can work on building those in near term. Thanks for trying.

jreback added a commit to jreback/pandas that referenced this issue Dec 15, 2017
jreback added a commit that referenced this issue Dec 15, 2017
jreback added a commit to jreback/pandas that referenced this issue Dec 29, 2017
jreback added a commit that referenced this issue Dec 29, 2017
hexgnu pushed a commit to hexgnu/pandas that referenced this issue Jan 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants