conda-forge / geopandas-feedstock

A conda-smithy repository for geopandas.
BSD 3-Clause "New" or "Revised" License
16 stars 14 forks source link

import error from geopandas, mac os, anaconda #45

Closed zc4242 closed 5 years ago

zc4242 commented 6 years ago

Issue:

ImportError: dlopen(/anaconda3/lib/python3.6/site-packages/fiona/ogrext.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libkea.1.4.7.dylib Referenced from: /anaconda3/lib/libgdal.20.dylib Reason: image not found


Environment (conda list):

``` $ conda list conda active environment : None user config file : /Users/Quantum/.condarc populated config files : /Users/Quantum/.condarc conda version : 4.5.11 conda-build version : 3.13.0 python version : 3.6.6.final.0 base environment : /anaconda3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/osx-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/osx-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/osx-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/osx-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/pro/osx-64 https://repo.anaconda.com/pkgs/pro/noarch package cache : /anaconda3/pkgs /Users/Quantum/.conda/pkgs envs directories : /anaconda3/envs /Users/Quantum/.conda/envs platform : osx-64 user-agent : conda/4.5.11 requests/2.19.1 CPython/3.6.6 Darwin/17.7.0 OSX/10.13.6 UID:GID : 501:20 netrc file : None offline mode : False ```


Details about conda and system ( conda info ):

``` $ conda info # packages in environment at /anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py36_0 _r-mutex 1.0.0 anacondar_1 r alabaster 0.7.11 py36_0 anaconda-client 1.7.1 py36_0 anaconda-navigator 1.8.7 py36_0 anaconda-project 0.8.2 py36_0 appnope 0.1.0 py36hf537a9a_0 appscript 1.0.1 py36h1de35cc_1 asn1crypto 0.24.0 py36_0 astroid 2.0.4 py36_0 astropy 3.0.4 py36h1de35cc_0 atomicwrites 1.1.5 py36_0 attrs 18.1.0 py36_0 automat 0.7.0 py36_0 babel 2.6.0 py36_0 backcall 0.1.0 py36_0 backports 1.0 py36_1 backports.shutil_get_terminal_size 1.0.0 py36_2 bash_kernel 0.7.1 beautifulsoup4 4.6.3 py36_0 billiard 3.5.0.4 bitarray 0.8.3 py36h1de35cc_0 bkcharts 0.2 py36h073222e_0 blas 1.0 mkl blaze 0.11.3 py36_0 bleach 2.1.4 py36_0 blosc 1.14.4 hd9629dc_0 bokeh 0.13.0 py36_0 boost-cpp 1.67.0 h3a22d5f_0 conda-forge boto 2.49.0 py36_0 bottleneck 1.2.1 py36h1d22016_1 bwidget 1.9.11 0 bzip2 1.0.6 h1de35cc_5 ca-certificates 2018.8.24 ha4d7672_0 conda-forge cairo 1.14.12 hc4e6be7_4 cctools 895 h7512d6f_0 certifi 2018.8.24 py36_1 conda-forge cffi 1.11.5 py36h342bebf_0 chardet 3.0.4 py36_1 clang 4.0.1 h662ec87_0 clang_osx-64 4.0.1 h1ce6c1d_11 clangxx 4.0.1 hc9b4283_0 clangxx_osx-64 4.0.1 h22b1bf0_11 click 6.7 py36hec950be_0 click-plugins 1.0.4 py_0 conda-forge cligj 0.4.0 py_1 conda-forge cloudpickle 0.5.3 py36_0 clyent 1.2.2 py36_1 colorama 0.3.9 py36hd29a30c_0 compiler-rt 4.0.1 h5487866_0 conda 4.5.11 py36_0 conda-forge conda-build 3.13.0 py36_0 conda-env 2.6.0 1 conda-verify 3.1.0 py36_0 constantly 15.1.0 py36h28b3542_0 contextlib2 0.5.5 py36hd66e5e7_0 cryptography 2.3.1 py36hdffb7b8_0 conda-forge cryptography-vectors 2.3.1 py36_0 conda-forge curl 7.61.0 ha441bb4_0 cycler 0.10.0 py36hfc81398_0 cython 0.28.5 py36h0a44026_0 cytoolz 0.9.0.1 py36h1de35cc_1 dask 0.18.2 py36_0 dask-core 0.18.2 py36_0 datashape 0.5.4 py36_1 dbus 1.13.2 h760590f_1 decorator 4.3.0 py36_0 descartes 1.1.0 py_2 conda-forge distributed 1.22.1 py36_0 docutils 0.14 py36hbfde631_0 entrypoints 0.2.3 py36_2 et_xmlfile 1.0.1 py36h1315bdc_0 expat 2.2.5 hb8e80ba_0 fastcache 1.0.2 py36h1de35cc_2 fasteners 0.14.1 feather-format 0.4.0 filelock 3.0.4 py36_0 fiona 1.7.13 py36hb00a9d7_3 conda-forge flask 1.0.2 py36_1 flask-cors 3.0.6 py36_0 fontconfig 2.13.0 h5d5b041_1 freetype 2.9.1 hb4e5f40_0 freexl 1.0.5 h470a237_2 conda-forge fribidi 1.0.4 h1de35cc_0 future 0.16.0 py36_1 gdal 2.2.4 py36hb00a9d7_1 conda-forge geopandas 0.4.0 py_1 conda-forge geos 3.6.2 hfc679d8_3 conda-forge get_terminal_size 1.0.0 h7520d66_0 gettext 0.19.8.1 h15daf44_3 gevent 1.3.6 py36h1de35cc_0 gfortran_osx-64 4.8.5 h22b1bf0_3 giflib 5.1.4 h470a237_1 conda-forge glib 2.56.1 h35bc53a_0 glob2 0.6 py36_0 gmp 6.1.2 hb37e062_1 gmpy2 2.0.8 py36h6ef4df4_2 graphite2 1.3.11 h2098e52_2 greenlet 0.4.14 py36h1de35cc_0 gsl 2.4 h1de35cc_4 h5py 2.8.0 py36h3c9e6ae_0 harfbuzz 1.8.4 hb8d4a28_0 hdf4 4.2.13 0 conda-forge hdf5 1.10.2 hfa1e0ec_1 heapdict 1.0.0 py36_2 html5lib 1.0.1 py36_0 hyperlink 18.0.0 py36_0 icu 58.2 h4b95b61_1 idna 2.7 py36_0 imageio 2.3.0 py36_0 imagesize 1.0.0 py36_0 incremental 17.5.0 py36_0 intel-openmp 2018.0.3 0 ipykernel 4.8.2 py36_0 ipython 6.5.0 py36_0 ipython_genutils 0.2.0 py36h241746c_0 ipywidgets 7.4.0 py36_0 isort 4.3.4 py36_0 itsdangerous 0.24 py36_1 jbig 2.1 h4d881f8_0 jdcal 1.4 py36_0 jedi 0.12.1 py36_0 jinja2 2.10 py36_0 jpeg 9b he5867d9_2 json-c 0.13.1 h470a237_1 conda-forge jsonschema 2.6.0 py36hb385e00_0 jupyter 1.0.0 py36_4 jupyter_client 5.2.3 py36_0 jupyter_console 5.2.0 py36_1 jupyter_contrib_core 0.3.3 py_2 conda-forge jupyter_contrib_nbextensions 0.5.0 py36_0 conda-forge jupyter_core 4.4.0 py36_0 jupyter_highlight_selected_word 0.2.0 py36_0 conda-forge jupyter_latex_envs 1.4.4 py36_0 conda-forge jupyter_nbextensions_configurator 0.4.0 py36_0 conda-forge jupyterlab 0.34.1 py36_0 jupyterlab_launcher 0.13.1 py36_0 jupyterthemes 0.19.6 py_0 conda-forge kealib 1.4.9 h0bee7d0_2 conda-forge keyring 13.2.1 py36_0 kiwisolver 1.0.1 py36h0a44026_0 krb5 1.16.1 h24a3359_6 lazy-object-proxy 1.3.1 py36h1de35cc_2 ld64 274.2 h7c2db76_0 lesscpy 0.13.0 py_1 conda-forge libcurl 7.61.0 hf30b1f0_0 libcxx 4.0.1 h579ed51_0 libcxxabi 4.0.1 hebd6815_0 libdap4 3.19.1 h18059cb_1 conda-forge libedit 3.1.20170329 hb402a30_2 libffi 3.2.1 h475c297_4 libgcc 4.8.5 hdbeacc1_10 libgdal 2.2.4 h7b1ea53_2 libgfortran 3.0.1 h93005f0_2 libiconv 1.15 hdd342a3_7 libkml 1.3.0 hccc92b1_8 conda-forge libnetcdf 4.6.1 h5e45101_3 conda-forge libopenblas 0.2.20 hdc02c5d_7 libpng 1.6.34 he12f830_0 libpq 10.5 hf30b1f0_0 libsodium 1.0.16 h3efe00b_0 libspatialindex 1.8.5 hfc679d8_3 conda-forge libspatialite 4.3.0a ha12ebda_19 libssh2 1.8.0 h322a93b_4 libtiff 4.0.9 hcb84e12_2 libuuid 1.0.3 1 conda-forge libxml2 2.9.8 hab757c2_1 libxslt 1.1.32 hb819dd2_0 llvm 4.0.1 hc748206_0 llvm-lto-tapi 4.0.1 h6701bc3_0 llvm-openmp 4.0.1 hda82c8b_0 llvmlite 0.24.0 py36hc454e04_0 locket 0.2.0 py36hca03003_1 lxml 4.2.4 py36hef8c89e_0 lzo 2.10 h362108e_2 make 4.2.1 h3efe00b_1 Markdown 2.6.11 markupsafe 1.0 py36h1de35cc_1 matplotlib 2.2.3 py36h54f8f79_0 mccabe 0.6.1 py36_1 metakernel 0.20.14 py_0 conda-forge mistune 0.8.3 py36h1de35cc_1 mkl 2018.0.3 1 mkl-service 1.1.2 py36h6b9c3cc_4 mkl_fft 1.0.1 py36h917ab60_0 mkl_random 1.0.1 py36h78cc56f_0 monotonic 1.5 more-itertools 4.3.0 py36_0 mpc 1.1.0 h6ef4df4_1 mpfr 4.0.1 h3018a27_3 mpmath 1.0.0 py36_2 msgpack-python 0.5.6 py36h04f5b5a_1 multipledispatch 0.6.0 py36_0 munch 2.3.2 py_0 conda-forge navigator-updater 0.2.1 py36_0 nbconvert 5.3.1 py36_0 nbformat 4.4.0 py36h827af21_0 ncurses 6.1 h0a44026_0 networkx 2.1 py36_0 nltk 3.3.0 py36_0 nltk_data 2017.10.22 py_0 conda-forge nose 1.3.7 py36_2 notebook 5.6.0 py36_0 numba 0.39.0 py36h6440ff4_0 numexpr 2.6.6 py36_0 conda-forge numpy 1.15.1 numpy 1.14.5 py36h648b28d_4 numpy-base 1.14.5 py36ha9ae307_4 numpydoc 0.8.0 py36_0 octave_kernel 0.28.4 py_1 conda-forge odo 0.5.1 py36hc1af34a_0 olefile 0.45.1 py36_0 openjpeg 2.3.0 h316dc23_3 conda-forge openpyxl 2.5.5 py36_0 openssl 1.0.2p h470a237_0 conda-forge packaging 17.1 py36_0 pandas 0.23.4 py36h6440ff4_0 pandoc 2.2.1 h1a437c5_0 pandocfilters 1.4.2 py36_1 pango 1.42.3 h060686c_0 parso 0.3.1 py36_0 partd 0.3.8 py36hf5c4cb8_0 path.py 11.0.1 py36_0 pathlib2 2.3.2 py36_0 patsy 0.5.0 py36_0 pcre 8.42 h378b8a2_0 pep8 1.7.1 py36_0 pexpect 4.6.0 py36_0 pickleshare 0.7.4 py36hf512f8e_0 pillow 5.2.0 py36hb68e598_0 pip 18.0 pip 10.0.1 py36_0 pixman 0.34.0 hca0a616_3 pkginfo 1.4.2 py36_1 pluggy 0.7.1 py36_0 ply 3.11 py36_0 poppler 0.65.0 ha097c24_1 poppler-data 0.4.9 0 conda-forge proj4 5.0.1 0 conda-forge prometheus_client 0.3.1 py36_0 prompt_toolkit 1.0.15 py36haeda067_0 psutil 5.4.7 py36h1de35cc_0 psycopg2 2.7.5 py36hdffb7b8_1 conda-forge ptyprocess 0.6.0 py36_0 py 1.5.4 py36_0 pyarrow 0.10.0 pycodestyle 2.4.0 py36_0 pycosat 0.6.3 py36h1de35cc_0 pycparser 2.18 py36_1 pycrypto 2.6.1 py36h1de35cc_9 pycurl 7.43.0.2 py36hdbc3d79_0 pydot 1.2.4 pydotplus 2.0.2 pyflakes 2.0.0 py36_0 pygments 2.2.0 py36h240cd3f_0 pylint 2.1.1 py36_0 pyodbc 4.0.24 py36h0a44026_0 pyopenssl 18.0.0 py36_0 pyparsing 2.2.0 py36_1 pyproj 1.9.5.1 py36_0 conda-forge pyqt 5.9.2 py36h655552a_0 pysal 1.14.4.post2 py36_0 conda-forge pysocks 1.6.8 py36_0 pytables 3.4.4 py36h13cba08_0 pytest 3.7.2 py36_0 pytest-arraydiff 0.2 py36h39e3cac_0 pytest-astropy 0.4.0 py36_0 pytest-doctestplus 0.1.3 py36_0 pytest-openfiles 0.3.0 py36_0 pytest-remotedata 0.3.0 py36_0 python 3.6.6 hc167b69_0 python-dateutil 2.7.3 py36_0 python.app 2 py36_8 pytz 2018.5 py36_0 pywavelets 0.5.2 py36h1d22016_2 pyyaml 3.13 py36h1de35cc_0 pyzmq 17.1.2 py36h1de35cc_0 qt 5.9.6 h74ce4d9_0 qtawesome 0.4.4 py36h468c6fb_0 qtconsole 4.4.0 py36_0 qtpy 1.4.2 py36_1 r 3.5.0 r350_0 r r-abind 1.4_5 r350h912f1d8_0 r r-assertthat 0.2.0 r350h912f1d8_0 r r-backports 1.1.2 r350h459e2dc_0 r r-base 3.5.0 hf781afb_1 r-base64enc 0.1_3 r350h459e2dc_4 r r-bh 1.66.0_1 r350h912f1d8_0 r r-bindr 0.1.1 r350h912f1d8_0 r r-bindrcpp 0.2.2 r350h1104f25_0 r r-bitops 1.0_6 r350h459e2dc_4 r r-boot 1.3_20 r350h912f1d8_0 r r-broom 0.4.4 r350h912f1d8_0 r r-callr 2.0.3 r350h1104f25_0 r r-car 3.0_0 r350h912f1d8_0 r r-cardata 3.0_1 r350h912f1d8_0 r r-caret 6.0_79 r350h459e2dc_0 r r-catools 1.17.1 r350h1104f25_4 r r-cellranger 1.1.0 r350h912f1d8_0 r r-chron 2.3_52 r350h459e2dc_0 r r-class 7.3_14 r350h459e2dc_4 r r-cli 1.0.0 r350h912f1d8_0 r r-cluster 2.0.7_1 r350h9092e51_0 r r-codetools 0.2_15 r350h912f1d8_0 r r-colorspace 1.3_2 r350h459e2dc_0 r r-crayon 1.3.4 r350h912f1d8_0 r r-curl 3.2 r350h459e2dc_0 r r-cvst 0.2_1 r350h912f1d8_0 r r-data.table 1.10.4_3 r350h459e2dc_0 r r-dbi 0.8 r350h912f1d8_0 r r-dbplyr 1.2.1 r350h912f1d8_0 r r-ddalpha 1.3.2 r350h82edaba_0 r r-debugme 1.1.0 r350h912f1d8_0 r r-deoptimr 1.0_8 r350h912f1d8_0 r r-dichromat 2.0_0 r350h912f1d8_4 r r-digest 0.6.15 r350h459e2dc_0 r r-dimred 0.1.0 r350h912f1d8_0 r r-dplyr 0.7.4 r350h1104f25_0 r r-drr 0.0.3 r350h912f1d8_0 r r-essentials 3.5.0 r350_0 r r-evaluate 0.10.1 r350h912f1d8_0 r r-forcats 0.3.0 r350h912f1d8_0 r r-foreach 1.4.4 r350h912f1d8_0 r r-forecast 8.3 r350h1104f25_0 r r-foreign 0.8_70 r350h459e2dc_0 r r-formatr 1.5 r350h912f1d8_0 r r-fracdiff 1.4_2 r350h459e2dc_4 r r-geometry 0.3_6 r350h459e2dc_0 r r-ggplot2 2.2.1 r350h912f1d8_0 r r-gistr 0.4.0 r350h912f1d8_0 r r-glmnet 2.0_16 r350h9092e51_0 r r-glue 1.2.0 r350h459e2dc_0 r r-gower 0.1.2 r350h459e2dc_0 r r-gtable 0.2.0 r350h912f1d8_0 r r-haven 1.1.1 r350h1104f25_0 r r-hexbin 1.27.2 r350h9092e51_0 r r-highr 0.6 r350h912f1d8_0 r r-hms 0.4.2 r350h912f1d8_0 r r-htmltools 0.3.6 r350h1104f25_0 r r-htmlwidgets 1.2 r350h912f1d8_0 r r-httpuv 1.4.1 r350h1104f25_0 r r-httr 1.3.1 r350h912f1d8_0 r r-ipred 0.9_6 r350h459e2dc_0 r r-irdisplay 0.4.4 r350h912f1d8_0 r r-irkernel 0.8.11 r350_0 r r-iterators 1.0.9 r350h912f1d8_0 r r-jsonlite 1.5 r350h459e2dc_0 r r-kernlab 0.9_25 r350h82edaba_0 r r-kernsmooth 2.23_15 r350h9092e51_4 r r-knitr 1.20 r350h912f1d8_0 r r-labeling 0.3 r350h912f1d8_4 r r-later 0.7.1 r350h1104f25_0 r r-lattice 0.20_35 r350h459e2dc_0 r r-lava 1.6.1 r350h912f1d8_0 r r-lazyeval 0.2.1 r350h459e2dc_0 r r-lme4 1.1_17 r350h1104f25_0 r r-lmtest 0.9_36 r350h9092e51_0 r r-lubridate 1.7.4 r350h1104f25_0 r r-magic 1.5_8 r350h912f1d8_0 r r-magrittr 1.5 r350h912f1d8_4 r r-maps 3.3.0 r350h459e2dc_0 r r-maptools 0.9_2 r350h459e2dc_0 r r-markdown 0.8 r350h459e2dc_0 r r-mass 7.3_49 r350h459e2dc_0 r r-matrix 1.2_14 r350h459e2dc_0 r r-matrixmodels 0.4_1 r350h912f1d8_4 r r-memoise 1.1.0 r350h912f1d8_0 r r-mgcv 1.8_23 r350h459e2dc_0 r r-mime 0.5 r350h459e2dc_0 r r-minqa 1.2.4 r350h82edaba_4 r r-mnormt 1.5_5 r350h9092e51_0 r r-modelmetrics 1.1.0 r350h1104f25_0 r r-modelr 0.1.1 r350h912f1d8_0 r r-munsell 0.4.3 r350h912f1d8_0 r r-nlme 3.1_137 r350h9092e51_0 r r-nloptr 1.0.4 r350h1104f25_4 r r-nnet 7.3_12 r350h459e2dc_0 r r-numderiv 2016.8_1 r350h912f1d8_0 r r-openssl 1.0.1 r350h459e2dc_0 r r-openxlsx 4.0.17 r350h1104f25_0 r r-pbdzmq 0.3_2 r350h1104f25_0 r r-pbkrtest 0.4_7 r350h912f1d8_0 r r-pillar 1.2.1 r350h912f1d8_0 r r-pkgconfig 2.0.1 r350h912f1d8_0 r r-plogr 0.2.0 r350h912f1d8_0 r r-plyr 1.8.4 r350h1104f25_0 r r-praise 1.0.0 r350h912f1d8_4 r r-prodlim 2018.04.18 r350h1104f25_0 r r-promises 1.0.1 r350h1104f25_0 r r-pryr 0.1.4 r350h1104f25_0 r r-psych 1.8.3.3 r350h912f1d8_0 r r-purrr 0.2.4 r350h459e2dc_0 r r-quadprog 1.5_5 r350h9092e51_4 r r-quantmod 0.4_13 r350h912f1d8_0 r r-quantreg 5.35 r350h9092e51_0 r r-r6 2.2.2 r350h912f1d8_0 r r-randomforest 4.6_14 r350h9092e51_0 r r-rbokeh 0.6.3 r350_0 r r-rcolorbrewer 1.1_2 r350h912f1d8_0 r r-rcpp 0.12.16 r350h1104f25_0 r r-rcpparmadillo 0.8.400.0.0 r350h1104f25_0 r r-rcppeigen 0.3.3.4.0 r350h1104f25_0 r r-rcpproll 0.2.2 r350h1104f25_0 r r-readr 1.1.1 r350h1104f25_0 r r-readxl 1.1.0 r350h1104f25_0 r r-recipes 0.1.2 r350h912f1d8_0 r r-recommended 3.5.0 r350_0 r r-rematch 1.0.1 r350h912f1d8_0 r r-repr 0.13 r350h912f1d8_0 r r-reprex 0.1.2 r350h912f1d8_0 r r-reshape2 1.4.3 r350h1104f25_0 r r-rio 0.5.10 r350h912f1d8_0 r r-rlang 0.2.0 r350h459e2dc_0 r r-rmarkdown 1.9 r350h912f1d8_0 r r-robustbase 0.92_8 r350h9092e51_0 r r-rpart 4.1_13 r350h459e2dc_0 r r-rprojroot 1.3_2 r350h912f1d8_0 r r-rstudioapi 0.7 r350h912f1d8_0 r r-rvest 0.3.2 r350h912f1d8_0 r r-scales 0.5.0 r350h1104f25_0 r r-selectr 0.4_1 r350h912f1d8_0 r r-sfsmisc 1.1_2 r350h912f1d8_0 r r-shiny 1.0.5 r350h912f1d8_0 r r-sourcetools 0.1.6 r350h1104f25_0 r r-sp 1.2_7 r350h459e2dc_0 r r-sparsem 1.77 r350h9092e51_0 r r-spatial 7.3_11 r350h459e2dc_4 r r-squarem 2017.10_1 r350h912f1d8_0 r r-stringi 1.1.7 r350h1104f25_0 r r-stringr 1.3.0 r350h912f1d8_0 r r-survival 2.42_3 r350h459e2dc_0 r r-testthat 2.0.0 r350h1104f25_0 r r-tibble 1.4.2 r350h459e2dc_0 r r-tidyr 0.8.0 r350h1104f25_0 r r-tidyselect 0.2.4 r350h1104f25_0 r r-tidyverse 1.2.1 r350h912f1d8_0 r r-timedate 3043.102 r350h912f1d8_0 r r-tseries 0.10_44 r350h9092e51_0 r r-ttr 0.23_3 r350h9092e51_0 r r-urca 1.3_0 r350h9092e51_0 r r-uroot 2.0_9 r350h1104f25_0 r r-utf8 1.1.3 r350h459e2dc_0 r r-uuid 0.1_2 r350h459e2dc_4 r r-viridislite 0.3.0 r350h912f1d8_0 r r-whisker 0.3_2 r350h912f1d8_4 r r-withr 2.1.2 r350h912f1d8_0 r r-xml2 1.2.0 r350h1104f25_0 r r-xtable 1.8_2 r350h912f1d8_0 r r-xts 0.10_2 r350h9092e51_0 r r-yaml 2.1.18 r350h459e2dc_0 r r-zoo 1.8_1 r350h459e2dc_0 r rake_nltk 1.0.3 py36_0 conda-forge readline 7.0 hc1231fa_4 redis 2.10.6 requests 2.19.1 py36_0 rope 0.11.0 py36_0 rq 0.12.0 rtree 0.8.3 py36_0 conda-forge ruamel_yaml 0.15.46 py36h1de35cc_0 SAS-kernel 2.1.7 sas7bdat 2.1.1 saspy 2.2.7 scikit-image 0.14.0 py36h0a44026_1 scikit-learn 0.19.2 py36h4f467ca_0 scipy 1.1.0 py36hf1f7d93_0 seaborn 0.9.0 py36_0 send2trash 1.5.0 py36_0 setuptools 40.0.0 py36_0 shapely 1.6.4 py36h164cb2d_1 conda-forge simplegeneric 0.8.1 py36_2 singledispatch 3.4.0.3 py36hf20db9d_0 sip 4.19.8 py36h0a44026_0 six 1.11.0 py36_1 snappy 1.1.7 he62c110_3 snowballstemmer 1.2.1 py36h6c7b616_0 sortedcollections 1.0.1 py36_0 sortedcontainers 2.0.4 py36_0 sos 0.16.9 sos-bash 0.9.12.2 sos-bioinfo 0.9.10.1 sos-javascript 0.9.12.2 sos-julia 0.9.12.1 sos-matlab 0.9.12.1 sos-notebook 0.16.10 sos-pbs 0.9.16.0 sos-python 0.9.12.1 sos-r 0.9.12.3 sos-rq 0.9.16.1 sos-ruby 0.9.15.0 sos-sas 0.9.12.3 sphinx 1.7.7 py36_0 sphinxcontrib 1.0 py36_1 sphinxcontrib-websupport 1.1.0 py36_1 spyder 3.3.1 py36_1 spyder-kernels 0.2.6 py36_0 sqlalchemy 1.2.10 py36h1de35cc_0 sqlite 3.24.0 ha441bb4_0 statsmodels 0.9.0 py36h1d22016_0 sympy 1.2 py36_0 tabulate 0.8.2 tblib 1.3.2 py36hda67792_0 terminado 0.8.1 py36_1 testpath 0.3.1 py36h625a49b_0 tk 8.6.7 h35a86e2_3 tktable 2.10 h1de35cc_0 toolz 0.9.0 py36_0 tornado 5.1 py36h1de35cc_0 tqdm 4.25.0 traitlets 4.3.2 py36h65bd3ce_0 twisted 17.5.0 py36_0 typed-ast 1.1.0 py36h1de35cc_0 typing 3.6.4 py36_0 unicodecsv 0.14.1 py36he531d66_0 unixodbc 2.3.7 h1de35cc_0 urllib3 1.23 py36_0 Wand 0.4.4 wcwidth 0.1.7 py36h8c6ec74_0 webencodings 0.5.1 py36_1 werkzeug 0.14.1 py36_0 wheel 0.31.1 py36_0 widgetsnbextension 3.4.0 py36_0 wrapt 1.10.11 py36h1de35cc_2 xerces-c 3.2.1 h5d6a6da_3 conda-forge xlrd 1.1.0 py36_1 xlsxwriter 1.0.7 py36_0 xlwings 0.11.8 py36_0 xlwt 1.2.0 py36h5ad1178_0 xxhash 1.2.0 xz 5.2.4 h1de35cc_4 yaml 0.1.7 hc338f04_2 zeromq 4.2.5 h0a44026_0 zict 0.1.3 py36_0 zlib 1.2.11 hf3cbc9b_2 zope 1.0 py36_0 zope.interface 4.5.0 py36h1de35cc_0 ```
jorisvandenbossche commented 6 years ago

@jonathanc42 it seems you have a mixture of defaults and conda-forge packages (eg gdal is from conda-forge, but libgdal from the defaults channel)

Can you please try to make a new environment with either only from conda-forge, or either only from defaults (geopandas is available in both)?

AlessandroVol23 commented 5 years ago

Got the same issue. Tried it with channel defaults and conda-forge

Conda list (with defaults):

# packages in environment at /Users/q458471/miniconda3/envs/odm_new3:
#
# Name                    Version                   Build  Channel
blas                      1.0                         mkl  
bzip2                     1.0.6                h1de35cc_5  
ca-certificates           2018.03.07                    0  
cairo                     1.14.12              hc4e6be7_4  
certifi                   2018.10.15               py37_0  
click                     7.0                      py37_0  
click-plugins             1.0.4                    py37_0  
cligj                     0.5.0                    py37_0  
curl                      7.61.1               ha441bb4_0  
cycler                    0.10.0                   py37_0  
descartes                 1.1.0                    py37_0  
expat                     2.2.6                h0a44026_0  
fiona                     1.7.12           py37h0dff353_0  
fontconfig                2.13.0               h5d5b041_1  
freetype                  2.9.1                hb4e5f40_0  
freexl                    1.0.5                h1de35cc_0  
gdal                      2.2.4            py37h6440ff4_1  
geopandas                 0.3.0                    py37_0  
geos                      3.6.2                h5470d99_2  
gettext                   0.19.8.1             h15daf44_3  
giflib                    5.1.4                h1de35cc_1  
glib                      2.56.2               hd9629dc_0  
hdf4                      4.2.13               h39711bb_2  
hdf5                      1.10.2               hfa1e0ec_1  
icu                       58.2                 h4b95b61_1  
intel-openmp              2019.1                      144  
jpeg                      9b                   he5867d9_2  
json-c                    0.13.1               h3efe00b_0  
kealib                    1.4.7                h40e48e4_6  
kiwisolver                1.0.1            py37h0a44026_0  
krb5                      1.16.1               h24a3359_6  
libboost                  1.67.0               hebc422b_4  
libcurl                   7.61.1               hf30b1f0_0  
libcxx                    4.0.1                hcfea43d_1  
libcxxabi                 4.0.1                hcfea43d_1  
libdap4                   3.19.1               h3d3e54a_0  
libedit                   3.1.20170329         hb402a30_2  
libffi                    3.2.1                h475c297_4  
libgdal                   2.2.4                h7b1ea53_1  
libgfortran               3.0.1                h93005f0_2  
libiconv                  1.15                 hdd342a3_7  
libkml                    1.3.0                hbe12b63_4  
libnetcdf                 4.6.1                h4e6abe9_2  
libpng                    1.6.35               ha441bb4_0  
libpq                     10.5                 hf30b1f0_0  
libspatialindex           1.8.5                h2c08c6b_2  
libspatialite             4.3.0a              ha12ebda_19  
libssh2                   1.8.0                h322a93b_4  
libtiff                   4.0.9                hcb84e12_2  
libuuid                   1.0.3                h6bb4b03_2  
libxml2                   2.9.8                hab757c2_1  
matplotlib                3.0.1            py37h54f8f79_0  
mkl                       2018.0.3                      1  
mkl_fft                   1.0.6            py37hb8a8100_0  
mkl_random                1.0.1            py37h5d10147_1  
munch                     2.3.2                    py37_0  
ncurses                   6.1                  h0a44026_0  
numpy                     1.15.4           py37h6a91979_0  
numpy-base                1.15.4           py37h8a80b8c_0  
openjpeg                  2.3.0                hb95cd4c_1  
openssl                   1.0.2p               h1de35cc_0  
pandas                    0.23.4           py37h6440ff4_0  
pcre                      8.42                 h378b8a2_0  
pip                       18.1                     py37_0  
pixman                    0.34.0               hca0a616_3  
poppler                   0.65.0               ha097c24_1  
poppler-data              0.4.9                         0  
proj4                     5.0.1                h1de35cc_0  
psycopg2                  2.7.5            py37hdbc3d79_0  
pyparsing                 2.3.0                    py37_0  
pyproj                    1.9.5.1          py37h833a5d7_1  
pysal                     1.14.4.post1             py37_1  
python                    3.7.0                hc167b69_0  
python-dateutil           2.7.5                    py37_0  
pytz                      2018.7                   py37_0  
readline                  7.0                  h1de35cc_5  
rtree                     0.8.3                    py37_0  
scipy                     1.1.0            py37h28f7352_1  
setuptools                40.6.2                   py37_0  
shapely                   1.6.4            py37h20de77a_0  
six                       1.11.0                   py37_1  
sqlalchemy                1.2.14           py37h1de35cc_0  
sqlite                    3.25.3               ha441bb4_0  
tk                        8.6.8                ha441bb4_0  
tornado                   5.1.1            py37h1de35cc_0  
wheel                     0.32.3                   py37_0  
xerces-c                  3.2.2                h44e365a_0  
xz                        5.2.4                h1de35cc_4  
zlib                      1.2.11               h1de35cc_3  

Error: import geopandas

ImportError: dlopen(/Users/user/miniconda3/lib/python3.6/site-packages/fiona/ogrext.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libssl.1.0.0.dylib
  Referenced from: /Users/user/miniconda3/lib/libgdal.20.dylib
  Reason: image not found
ocefpaf commented 5 years ago

Got the same issue. Tried it with channel defaults and conda-forge

Regarding defaults please open an issue with AnacondaInc, regarding conda-forge I cannot debug your env b/c you did not paste it here for inspection. If you want to test it again try:

conda config --remove channels defaults
conda create --name TEST python=3.7 geopandas --yes
conda activate TEST
python -c "import geopandas; print(geopandas.__version__)"
0.4.0

PS: this is a classic "bad channel mix" problem and can be solved with the recommendations above. Closing.

widal001 commented 5 years ago

@ocefpaf I am getting the same error as the OP and have come across the same advice re: channel mix, but when when I take the steps below:

conda config --remove channels defaults
conda create --name GeoEnv3 python=3.6 geopandas --yes
conda activate GeoEnv3
python -c "import geopandas"

I get the following error:

ImportError: dlopen(/anaconda/envs/GeoEnv3/lib/python3.6/site-packages/fiona/ogrext.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libssl.1.0.0.dylib
  Referenced from: /anaconda/envs/GeoEnv3/lib/libgdal.20.dylib
  Reason: image not found

conda list returns the following details, which seems to suggest that I don't have a mix of channels in this env. Further libgdal looks like its installed in the env and matches the channel for fiona and geopandas so the error doesn't seem to be channel-related.

Name                    Version                   Build  Channel
blas                      1.1                    openblas    conda-forge
boost-cpp                 1.68.0            h6f8c590_1000    conda-forge
bzip2                     1.0.6             h1de35cc_1002    conda-forge
ca-certificates           2019.3.9             hecc5488_0    conda-forge
cairo                     1.16.0            h9247486_1000    conda-forge
certifi                   2019.3.9                 py36_0    conda-forge
click                     7.0                        py_0    conda-forge
click-plugins             1.0.4                      py_0    conda-forge
cligj                     0.5.0                      py_0    conda-forge
curl                      7.64.0               heae2a1f_2    conda-forge
cycler                    0.10.0                     py_1    conda-forge
descartes                 1.1.0                      py_2    conda-forge
expat                     2.2.5             h0a44026_1002    conda-forge
fiona                     1.7.13           py36hb00a9d7_4    conda-forge
fontconfig                2.13.1            h1e4e890_1000    conda-forge
freetype                  2.9.1             h597ad8a_1005    conda-forge
freexl                    1.0.5             h1de35cc_1002    conda-forge
gdal                      2.2.4            py36hb00a9d7_1    conda-forge
geopandas                 0.4.1                      py_0    conda-forge
geos                      3.6.2             h0a44026_1004    conda-forge
geotiff                   1.4.2             h2e810ce_1005    conda-forge
gettext                   0.19.8.1          hcca000d_1001    conda-forge
giflib                    5.1.4             h1de35cc_1001    conda-forge
glib                      2.58.3            h2836805_1001    conda-forge
hdf4                      4.2.13            hf3c6af0_1002    conda-forge
hdf5                      1.10.2               hc401514_3    conda-forge
icu                       58.2              h0a44026_1000    conda-forge
jpeg                      9c                h1de35cc_1001    conda-forge
json-c                    0.12.1               h470a237_1    conda-forge
kealib                    1.4.9                h0bee7d0_2    conda-forge
kiwisolver                1.0.1           py36h04f5b5a_1002    conda-forge
krb5                      1.16.3            hcfa6398_1001    conda-forge
libcurl                   7.64.0               he376013_2    conda-forge
libcxx                    7.0.0                h2d50403_1    conda-forge
libdap4                   3.19.1            hae55d67_1000    conda-forge
libedit                   3.1.20170329      hcfe32e1_1001    conda-forge
libffi                    3.2.1             h0a44026_1005    conda-forge
libgdal                   2.2.4                he036fc0_8    conda-forge
libgfortran               3.0.1                         0    conda-forge
libiconv                  1.15              h1de35cc_1004    conda-forge
libkml                    1.3.0             h71ee1b2_1009    conda-forge
libnetcdf                 4.6.1              h34af652_200    conda-forge
libpng                    1.6.36            ha441bb4_1000    conda-forge
libpq                     11.2                 h29c6f28_0    conda-forge
libspatialindex           1.8.5             h0a44026_1003    conda-forge
libspatialite             4.3.0a            hf0dd066_1023    conda-forge
libssh2                   1.8.0             hb1dc21d_1004    conda-forge
libtiff                   4.0.10            h344961e_1002    conda-forge
libxml2                   2.9.8             hf14e9c8_1005    conda-forge
llvm-meta                 7.0.0                         0    conda-forge
mapclassify               2.0.1                      py_0    conda-forge
matplotlib                3.0.3                    py36_0    conda-forge
matplotlib-base           3.0.3            py36hf043ca5_0    conda-forge
munch                     2.3.2                      py_0    conda-forge
ncurses                   6.1               h0a44026_1002    conda-forge
numpy                     1.16.2          py36_blas_openblash486cb9f_0  [blas_openblas]  conda-forge
openblas                  0.3.3             hdc02c5d_1001    conda-forge
openjpeg                  2.3.0             h3bf0609_1003    conda-forge
openssl                   1.1.1b               h1de35cc_1    conda-forge
pandas                    0.24.1           py36h0a44026_0    conda-forge
pcre                      8.41              h0a44026_1003    conda-forge
pip                       19.0.3                   py36_0    conda-forge
pixman                    0.34.0            h1de35cc_1003    conda-forge
poppler                   0.67.0               hb974355_6    conda-forge
poppler-data              0.4.9                         1    conda-forge
proj4                     4.9.3                h470a237_8    conda-forge
pyparsing                 2.3.1                      py_0    conda-forge
pyproj                    1.9.5.1         py36hfb6cdf6_1006    conda-forge
python                    3.6.7             h8dc6b48_1004    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
pytz                      2018.9                     py_0    conda-forge
readline                  7.0               hcfe32e1_1001    conda-forge
rtree                     0.8.3                 py36_1000    conda-forge
scipy                     1.2.1           py36_blas_openblash486cb9f_0  [blas_openblas]  conda-forge
setuptools                40.8.0                   py36_0    conda-forge
shapely                   1.6.4           py36h2e8a847_1000    conda-forge
six                       1.12.0                py36_1000    conda-forge
sqlite                    3.26.0            h1765d9f_1001    conda-forge
tk                        8.6.9             ha441bb4_1000    conda-forge
tornado                   6.0.1            py36h1de35cc_0    conda-forge
wheel                     0.33.1                   py36_0    conda-forge
xerces-c                  3.2.0                h5d6a6da_2    conda-forge
xz                        5.2.4             h1de35cc_1001    conda-forge
zlib                      1.2.11            h1de35cc_1004    conda-forge
zstd                      1.3.3                         1    conda-forge

I have gotten geopandas to work in a separate env, but only by following the advice that @dannguyen recommended in this issue and running conda install -c conda-forge fiona "libgdal<2.0" which downgraded the env to python 2.7 and causes other headaches so definitely a less than ideal solution.

If I'm still misunderstanding how the channels bug works and haven't taken the necessary steps to address it with the new env I created, I'd really appreciate your help in identifying where I went wrong. Thanks!

ocefpaf commented 5 years ago

I don't have a macOS here to debug that but can you try:

conda config --add channels conda-forge
conda config --set channel_priority strict
conda config --set show_channel_urls True

and then:

conda create --name TEST python=3.7 geopandas
conda activate TEST
python -c "import geopandas; print(geopandas.__version__)"
widal001 commented 5 years ago

@ocefpaf Thanks for the additional help good news is when I followed the steps and made the channel_priority strict and created a new env with python=3.7 it worked, but then I tried to create an env with python=3.6 and it returned the same error as above.

Any idea why it would work with python 3.7 but not python 3.6?

Here's conda list for the 3.7 environment:

 Name                    Version                   Build  Channel
attrs                     19.1.0                     py_0    conda-forge
blas                      1.1                    openblas    conda-forge
boost-cpp                 1.68.0            h6f8c590_1000    conda-forge
bzip2                     1.0.6             h1de35cc_1002    conda-forge
ca-certificates           2019.3.9             hecc5488_0    conda-forge
cairo                     1.16.0            h9247486_1000    conda-forge
certifi                   2019.3.9                 py37_0    conda-forge
click                     7.0                        py_0    conda-forge
click-plugins             1.0.4                      py_0    conda-forge
cligj                     0.5.0                      py_0    conda-forge
curl                      7.64.0               heae2a1f_0    conda-forge
cycler                    0.10.0                     py_1    conda-forge
descartes                 1.1.0                      py_2    conda-forge
expat                     2.2.5             h0a44026_1002    conda-forge
fiona                     1.8.4           py37h0e3174d_1002    conda-forge
fontconfig                2.13.1            h1e4e890_1000    conda-forge
freetype                  2.9.1             h597ad8a_1005    conda-forge
freexl                    1.0.5             h1de35cc_1002    conda-forge
gdal                      2.4.0           py37h0e3174d_1002    conda-forge
geopandas                 0.4.1                      py_0    conda-forge
geos                      3.7.1             h0a44026_1000    conda-forge
geotiff                   1.4.3             hce09ea4_1000    conda-forge
gettext                   0.19.8.1          hcca000d_1001    conda-forge
giflib                    5.1.4             h1de35cc_1001    conda-forge
glib                      2.58.3            h2836805_1001    conda-forge
hdf4                      4.2.13            hf3c6af0_1002    conda-forge
hdf5                      1.10.4          nompi_h646315f_1105    conda-forge
icu                       58.2              h0a44026_1000    conda-forge
jpeg                      9c                h1de35cc_1001    conda-forge
json-c                    0.13.1            h1de35cc_1001    conda-forge
kealib                    1.4.10            hf5ed860_1002    conda-forge
kiwisolver                1.0.1           py37h04f5b5a_1002    conda-forge
krb5                      1.16.3            h24a3359_1000    conda-forge
libcurl                   7.64.0               h76de61e_0    conda-forge
libcxx                    7.0.0                h2d50403_1    conda-forge
libdap4                   3.19.1            hae55d67_1000    conda-forge
libedit                   3.1.20170329      hcfe32e1_1001    conda-forge
libffi                    3.2.1             h0a44026_1005    conda-forge
libgdal                   2.4.0             h89caebc_1002    conda-forge
libgfortran               3.0.1                         0    conda-forge
libiconv                  1.15              h1de35cc_1004    conda-forge
libkml                    1.3.0             h71ee1b2_1009    conda-forge
libnetcdf                 4.6.2             h6b88ef6_1001    conda-forge
libpng                    1.6.36            ha441bb4_1000    conda-forge
libpq                     10.6              hbe1e24e_1000    conda-forge
libspatialindex           1.8.5             h0a44026_1003    conda-forge
libspatialite             4.3.0a            h0cd9627_1026    conda-forge
libssh2                   1.8.0             hf30b1f0_1003    conda-forge
libtiff                   4.0.10            h344961e_1002    conda-forge
libxml2                   2.9.8             hf14e9c8_1005    conda-forge
llvm-meta                 7.0.0                         0    conda-forge
mapclassify               2.0.1                      py_0    conda-forge
matplotlib                3.0.3                    py37_0    conda-forge
matplotlib-base           3.0.3            py37hf043ca5_0    conda-forge
munch                     2.3.2                      py_0    conda-forge
ncurses                   6.1               h0a44026_1002    conda-forge
numpy                     1.16.2          py37_blas_openblash486cb9f_0  [blas_openblas]  conda-forge
openblas                  0.3.3             hdc02c5d_1001    conda-forge
openjpeg                  2.3.0             h3bf0609_1003    conda-forge
openssl                   1.0.2r               h1de35cc_0    conda-forge
pandas                    0.24.1           py37h0a44026_0    conda-forge
pcre                      8.41              h0a44026_1003    conda-forge
pip                       19.0.3                   py37_0    conda-forge
pixman                    0.34.0            h1de35cc_1003    conda-forge
poppler                   0.67.0               hb974355_6    conda-forge
poppler-data              0.4.9                         1    conda-forge
postgresql                10.6              ha1bbaa7_1000    conda-forge
proj4                     5.2.0             h1de35cc_1001    conda-forge
pyparsing                 2.3.1                      py_0    conda-forge
pyproj                    1.9.6           py37h9c430a6_1000    conda-forge
python                    3.7.1             h145921a_1000    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
pytz                      2018.9                     py_0    conda-forge
readline                  7.0               hcfe32e1_1001    conda-forge
rtree                     0.8.3                 py37_1000    conda-forge
scipy                     1.2.1           py37_blas_openblash486cb9f_0  [blas_openblas]  conda-forge
setuptools                40.8.0                   py37_0    conda-forge
shapely                   1.6.4           py37h2bcc7ef_1002    conda-forge
six                       1.12.0                py37_1000    conda-forge
sqlite                    3.26.0            h1765d9f_1001    conda-forge
tk                        8.6.9             ha441bb4_1000    conda-forge
tornado                   6.0.1            py37h1de35cc_0    conda-forge
tzcode                    2018g             h1de35cc_1001    conda-forge
wheel                     0.33.1                   py37_0    conda-forge
xerces-c                  3.2.2             h44e365a_1001    conda-forge
xz                        5.2.4             h1de35cc_1001    conda-forge
zlib                      1.2.11            h1de35cc_1004    conda-forge
zstd                      1.3.3                         1    conda-forge

and here's conda list for 3.6

Name                    Version                   Build  Channel
blas                      1.1                    openblas    conda-forge
boost-cpp                 1.68.0            h6f8c590_1000    conda-forge
bzip2                     1.0.6             h1de35cc_1002    conda-forge
ca-certificates           2019.3.9             hecc5488_0    conda-forge
cairo                     1.16.0            h9247486_1000    conda-forge
certifi                   2019.3.9                 py36_0    conda-forge
click                     7.0                        py_0    conda-forge
click-plugins             1.0.4                      py_0    conda-forge
cligj                     0.5.0                      py_0    conda-forge
curl                      7.64.0               heae2a1f_2    conda-forge
cycler                    0.10.0                     py_1    conda-forge
descartes                 1.1.0                      py_2    conda-forge
expat                     2.2.5             h0a44026_1002    conda-forge
fiona                     1.7.13           py36hb00a9d7_4    conda-forge
fontconfig                2.13.1            h1e4e890_1000    conda-forge
freetype                  2.9.1             h597ad8a_1005    conda-forge
freexl                    1.0.5             h1de35cc_1002    conda-forge
gdal                      2.2.4            py36hb00a9d7_1    conda-forge
geopandas                 0.4.1                      py_0    conda-forge
geos                      3.6.2             h0a44026_1004    conda-forge
geotiff                   1.4.2             h2e810ce_1005    conda-forge
gettext                   0.19.8.1          hcca000d_1001    conda-forge
giflib                    5.1.4             h1de35cc_1001    conda-forge
glib                      2.58.3            h2836805_1001    conda-forge
hdf4                      4.2.13            hf3c6af0_1002    conda-forge
hdf5                      1.10.2               hc401514_3    conda-forge
icu                       58.2              h0a44026_1000    conda-forge
jpeg                      9c                h1de35cc_1001    conda-forge
json-c                    0.12.1               h470a237_1    conda-forge
kealib                    1.4.9                h0bee7d0_2    conda-forge
kiwisolver                1.0.1           py36h04f5b5a_1002    conda-forge
krb5                      1.16.3            hcfa6398_1001    conda-forge
libcurl                   7.64.0               he376013_2    conda-forge
libcxx                    7.0.0                h2d50403_1    conda-forge
libdap4                   3.19.1            hae55d67_1000    conda-forge
libedit                   3.1.20170329      hcfe32e1_1001    conda-forge
libffi                    3.2.1             h0a44026_1005    conda-forge
libgdal                   2.2.4                he036fc0_8    conda-forge
libgfortran               3.0.1                         0    conda-forge
libiconv                  1.15              h1de35cc_1004    conda-forge
libkml                    1.3.0             h71ee1b2_1009    conda-forge
libnetcdf                 4.6.1              h34af652_200    conda-forge
libpng                    1.6.36            ha441bb4_1000    conda-forge
libpq                     11.2                 h29c6f28_0    conda-forge
libspatialindex           1.8.5             h0a44026_1003    conda-forge
libspatialite             4.3.0a            hf0dd066_1023    conda-forge
libssh2                   1.8.0             hb1dc21d_1004    conda-forge
libtiff                   4.0.10            h344961e_1002    conda-forge
libxml2                   2.9.8             hf14e9c8_1005    conda-forge
llvm-meta                 7.0.0                         0    conda-forge
mapclassify               2.0.1                      py_0    conda-forge
matplotlib                3.0.3                    py36_0    conda-forge
matplotlib-base           3.0.3            py36hf043ca5_0    conda-forge
munch                     2.3.2                      py_0    conda-forge
ncurses                   6.1               h0a44026_1002    conda-forge
numpy                     1.16.2          py36_blas_openblash486cb9f_0  [blas_openblas]  conda-forge
openblas                  0.3.3             hdc02c5d_1001    conda-forge
openjpeg                  2.3.0             h3bf0609_1003    conda-forge
openssl                   1.1.1b               h1de35cc_1    conda-forge
pandas                    0.24.1           py36h0a44026_0    conda-forge
pcre                      8.41              h0a44026_1003    conda-forge
pip                       19.0.3                   py36_0    conda-forge
pixman                    0.34.0            h1de35cc_1003    conda-forge
poppler                   0.67.0               hb974355_6    conda-forge
poppler-data              0.4.9                         1    conda-forge
proj4                     4.9.3                h470a237_8    conda-forge
pyparsing                 2.3.1                      py_0    conda-forge
pyproj                    1.9.5.1         py36hfb6cdf6_1006    conda-forge
python                    3.6.7             h8dc6b48_1004    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
pytz                      2018.9                     py_0    conda-forge
readline                  7.0               hcfe32e1_1001    conda-forge
rtree                     0.8.3                 py36_1000    conda-forge
scipy                     1.2.1           py36_blas_openblash486cb9f_0  [blas_openblas]  conda-forge
setuptools                40.8.0                   py36_0    conda-forge
shapely                   1.6.4           py36h2e8a847_1000    conda-forge
six                       1.12.0                py36_1000    conda-forge
sqlite                    3.26.0            h1765d9f_1001    conda-forge
tk                        8.6.9             ha441bb4_1000    conda-forge
tornado                   6.0.1            py36h1de35cc_0    conda-forge
wheel                     0.33.1                   py36_0    conda-forge
xerces-c                  3.2.0                h5d6a6da_2    conda-forge
xz                        5.2.4             h1de35cc_1001    conda-forge
zlib                      1.2.11            h1de35cc_1004    conda-forge
zstd                      1.3.3                         1    conda-forge
ocefpaf commented 5 years ago

Any idea why it would work with python 3.7 but not python 3.6?

No idea b/c I cannot reproduce it on Linux and I don't have a macOS to test but, b/c you used strict channel there, that is a problem with conda-forge and I need to investigate it.

ocefpaf commented 5 years ago

@widal001 the failing env is installing fiona 1.7.13 instead of the latest, probably b/c conda is trying to maximize some other dependence. Can you try:

conda create --name TEST python=3.6 geopandas fiona=1.8

to so I can be sure that latest fiona is working.

widal001 commented 5 years ago

@ocefpaf really appreciate your help! Just tested it now with explicitly setting fiona=1.8 and it worked!

ocefpaf commented 5 years ago

@ocefpaf really appreciate your help! Just tested it now with explicitly setting fiona=1.8 and it worked!

OK. I'll check if I can fix the bad solve there. You should not need to specify fiona to get the latest one.

ocefpaf commented 5 years ago

I just made a few adjustments that should get the right gdal/fiona/geopandas combination even without specifying the latest fiona. It may take ~1 hour to propagate to the channel. Please let me know the results if you test it.

widal001 commented 5 years ago

@ocefpaf Sorry I forgot to close this out: tested 3.6 without specifying fiona and it worked!! Thanks for the help!

widal001 commented 5 years ago

@ocefpaf I'm so sorry to bug you again, but I just went to create a new env with geopandas and encountered the original issue after running conda create --name TEST python=3.7 geopandas

I still have channel_priority strict with conda-forge as the priority channel. My conda list for the TEST environment is below:

Name                    Version                   Build  Channel
attrs                     19.1.0                     py_0    conda-forge
blas                      1.1                    openblas    conda-forge
boost-cpp                 1.68.0            h6f8c590_1000    conda-forge
bzip2                     1.0.6             h1de35cc_1002    conda-forge
ca-certificates           2019.3.9             hecc5488_0    conda-forge
cairo                     1.16.0            h9247486_1000    conda-forge
certifi                   2019.3.9                 py37_0    conda-forge
click                     7.0                        py_0    conda-forge
click-plugins             1.0.4                      py_0    conda-forge
cligj                     0.5.0                      py_0    conda-forge
curl                      7.64.0               heae2a1f_2    conda-forge
cycler                    0.10.0                     py_1    conda-forge
descartes                 1.1.0                      py_2    conda-forge
expat                     2.2.5             h0a44026_1002    conda-forge
fiona                     1.8.4           py37h0e3174d_1002    conda-forge
fontconfig                2.13.1            h1027ab8_1000    conda-forge
freetype                  2.10.0               h24853df_0    conda-forge
freexl                    1.0.5             h1de35cc_1002    conda-forge
gdal                      2.4.0           py37h0e3174d_1003    conda-forge
geopandas                 0.4.1                      py_0    conda-forge
geos                      3.7.1             h0a44026_1000    conda-forge
geotiff                   1.4.3             hce09ea4_1000    conda-forge
gettext                   0.19.8.1          hcca000d_1001    conda-forge
giflib                    5.1.7                h01d97ff_0    conda-forge
glib                      2.58.3            h2836805_1001    conda-forge
hdf4                      4.2.13            hf3c6af0_1002    conda-forge
hdf5                      1.10.4          nompi_h646315f_1105    conda-forge
icu                       58.2              h0a44026_1000    conda-forge
jpeg                      9c                h1de35cc_1001    conda-forge
json-c                    0.13.1            h1de35cc_1001    conda-forge
kealib                    1.4.10            hf5ed860_1002    conda-forge
kiwisolver                1.0.1           py37h04f5b5a_1002    conda-forge
krb5                      1.16.3            hcfa6398_1001    conda-forge
libcurl                   7.64.0               he376013_2    conda-forge
libcxx                    7.0.0                h2d50403_1    conda-forge
libdap4                   3.19.1            hae55d67_1000    conda-forge
libedit                   3.1.20170329      hcfe32e1_1001    conda-forge
libffi                    3.2.1             h0a44026_1005    conda-forge
libgdal                   2.4.0             h947adae_1003    conda-forge
libgfortran               3.0.1                         0    conda-forge
libiconv                  1.15              h1de35cc_1004    conda-forge
libkml                    1.3.0             h71ee1b2_1009    conda-forge
libnetcdf                 4.6.2             h6b88ef6_1001    conda-forge
libpng                    1.6.36            ha441bb4_1000    conda-forge
libpq                     11.2                 h29c6f28_0    conda-forge
libspatialindex           1.8.5             h0a44026_1003    conda-forge
libspatialite             4.3.0a            h0cd9627_1026    conda-forge
libssh2                   1.8.0             hb1dc21d_1004    conda-forge
libtiff                   4.0.10            h344961e_1002    conda-forge
libxml2                   2.9.8             hf14e9c8_1005    conda-forge
llvm-meta                 7.0.0                         0    conda-forge
mapclassify               2.0.1                      py_0    conda-forge
matplotlib                3.0.3                    py37_0    conda-forge
matplotlib-base           3.0.3            py37hf043ca5_0    conda-forge
munch                     2.3.2                      py_0    conda-forge
ncurses                   6.1               h0a44026_1002    conda-forge
numpy                     1.16.2          py37_blas_openblash486cb9f_0  [blas_openblas]  conda-forge
openblas                  0.3.3             hdc02c5d_1001    conda-forge
openjpeg                  2.3.0             h3bf0609_1003    conda-forge
openssl                   1.1.1b               h1de35cc_1    conda-forge
pandas                    0.24.2           py37h0a44026_0    conda-forge
pcre                      8.41              h0a44026_1003    conda-forge
pip                       19.0.3                   py37_0    conda-forge
pixman                    0.34.0            h1de35cc_1003    conda-forge
poppler                   0.67.0               hb974355_6    conda-forge
poppler-data              0.4.9                         1    conda-forge
postgresql                11.2                 h16efa30_0    conda-forge
proj4                     5.2.0             h1de35cc_1001    conda-forge
pyparsing                 2.3.1                      py_0    conda-forge
pyproj                    1.9.6           py37h9c430a6_1000    conda-forge
python                    3.7.1             hbdd33cc_1003    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
pytz                      2018.9                     py_0    conda-forge
readline                  7.0               hcfe32e1_1001    conda-forge
rtree                     0.8.3                 py37_1000    conda-forge
scipy                     1.2.1           py37_blas_openblash486cb9f_0  [blas_openblas]  conda-forge
setuptools                40.8.0                   py37_0    conda-forge
shapely                   1.6.4           py37h2bcc7ef_1002    conda-forge
six                       1.12.0                py37_1000    conda-forge
sqlite                    3.26.0            h1765d9f_1001    conda-forge
tk                        8.6.9             ha441bb4_1000    conda-forge
tornado                   6.0.1            py37h1de35cc_0    conda-forge
tzcode                    2018g             h1de35cc_1001    conda-forge
wheel                     0.33.1                   py37_0    conda-forge
xerces-c                  3.2.2             h44e365a_1001    conda-forge
xz                        5.2.4             h1de35cc_1001    conda-forge
zlib                      1.2.11            h1de35cc_1004    conda-forge
zstd                      1.3.3                         1    conda-forge

fiona was installed with version 1.8.4 which was the issue previously. As far as I can tell the only potentially relevant difference between the packages in this environment and the last environment I created with python=3.7 and geopandas is that the build for libgdal in this env is h947adae_1003 while in the previous env it was h89caebc_1002 but even when I specified the installation with that build

conda create --name TEST2 python=3.7 geopandas libgdal=2.4.0=h89caebc_1002

I received a similar error:

ImportError: dlopen(/anaconda/envs/TEST2/lib/python3.7/site-packages/fiona/ogrext.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libgif.7.dylib
  Referenced from: /anaconda/envs/TEST2/lib/libgdal.20.dylib

I recently updated conda to version 4.6.8 which updated some packages on the base env, could that be interfering with the builds in this new environment?

ocefpaf commented 5 years ago

We are experiencing an issue with OS X in our CIs. I'm working on it and I'll report back as soon as I have a fix for it.

widal001 commented 5 years ago

Thanks for the update!! Glad to hear it's not only me haha

ocefpaf commented 5 years ago

Thanks for the update!! Glad to hear it's not only me haha

If you can try it again today please let me know how it goes.

margueriteobolensky commented 5 years ago

Hi, I have the same issue as widal001, and have tried all that you mentioned on this thread (creating a test environment with python3.7), but I receive an error message concerning libgdal.20.dylib.

Let me know how I can help solving this issue!

ocefpaf commented 5 years ago

creating a test environment with python3.7

That is not the only thing. Did you issue the commands below in order?

conda config --add channels conda-forge
conda config --set channel_priority strict
conda create --name TEST python=3.7 geopandas --yes
conda activate TEST
python -c "import geopandas; print(geopandas.__version__)"

If so please send the contents of your .condarc and the results of conda list on that TEST environment.

margueriteobolensky commented 5 years ago

Thank you for your answer, it worked after I configured the test environment.

widal001 commented 5 years ago

@ocefpaf worked for me too! Thanks for all of your help troubleshooting!

exowanderer commented 4 years ago

I followed a very similar perspective as above, and it definitely solved my problems.

But I wanted to added that I can simplify the procedure slightly with: conda create --name gpd -c conda-forge python=3.7 geopandas ipython --yes

I don't like to delete defaults; and I've previously had trouble after-the-fact when setting --set channel_priority strict. The above command line minimizes the global impact to my other environments.

bw4sz commented 4 years ago

I have a bit of a mystery surrounding this. May have to do with priority channels in a way I don't understand.

This works.

 conda create --name TEST -c conda-forge python=3.7 geopandas
(TEST) MacBook-Pro:DeepForest_JointPrediction ben$ python
Python 3.7.6 | packaged by conda-forge | (default, Jun  1 2020, 18:33:30)
[Clang 9.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import geopandas
>>>

but this fails as part of .yml. I use these approach to make reproducible work.

(DeepForest_JointPrediction) MacBook-Pro:DeepForest_JointPrediction ben$ cat environment.yml
name: DeepForest_JointPrediction
channels:
  - conda-forge
dependencies:
  - python==3.7
  - geopandas
MacBook-Pro:DeepForest_JointPrediction ben$ conda env create -f=environment.yml
MacBook-Pro:DeepForest_JointPrediction ben$ conda activate DeepForest_JointPrediction
(DeepForest_JointPrediction) MacBook-Pro:DeepForest_JointPrediction ben$ python
Python 3.7.0 | packaged by conda-forge | (default, Nov 12 2018, 12:34:36)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import geopandas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/ben/miniconda3/envs/DeepForest_JointPrediction/lib/python3.7/site-packages/geopandas/__init__.py", line 5, in <module>
    from geopandas.io.file import read_file  # noqa
  File "/Users/ben/miniconda3/envs/DeepForest_JointPrediction/lib/python3.7/site-packages/geopandas/io/file.py", line 6, in <module>
    import fiona
  File "/Users/ben/miniconda3/envs/DeepForest_JointPrediction/lib/python3.7/site-packages/fiona/__init__.py", line 83, in <module>
    from fiona.collection import BytesCollection, Collection
  File "/Users/ben/miniconda3/envs/DeepForest_JointPrediction/lib/python3.7/site-packages/fiona/collection.py", line 9, in <module>
    from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: dlopen(/Users/ben/miniconda3/envs/DeepForest_JointPrediction/lib/python3.7/site-packages/fiona/ogrext.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libpoppler.76.dylib
  Referenced from: /Users/ben/miniconda3/envs/DeepForest_JointPrediction/lib/libgdal.20.dylib
  Reason: image not found

OSX 14.1

(DeepForest_JointPrediction) MacBook-Pro:DeepForest_JointPrediction ben$ conda list
# packages in environment at /Users/ben/miniconda3/envs/DeepForest_JointPrediction:
#
# Name                    Version                   Build  Channel
attrs                     19.3.0                     py_0    conda-forge
boost-cpp                 1.70.0               hd59e818_1    conda-forge
bzip2                     1.0.8                h0b31af3_2    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
cairo                     1.16.0            h0ab9d94_1001    conda-forge
certifi                   2020.4.5.1       py37hc8dfbb8_0    conda-forge
click                     7.1.2              pyh9f0ad1d_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cligj                     0.5.0                      py_0    conda-forge
curl                      7.64.0               heae2a1f_0    conda-forge
expat                     2.2.9                h4a8c4bd_2    conda-forge
fiona                     1.8.4           py37h8e9a8e4_1001    conda-forge
fontconfig                2.13.1            h1027ab8_1000    conda-forge
freetype                  2.10.2               h8da9a1a_0    conda-forge
freexl                    1.0.5             h1de35cc_1002    conda-forge
gdal                      2.3.2            py37h3f5b778_0
geopandas                 0.6.3                      py_0    conda-forge
geos                      3.6.2             h0a44026_1004    conda-forge
gettext                   0.19.8.1          h46ab8bc_1002    conda-forge
giflib                    5.1.7                h01d97ff_1    conda-forge
glib                      2.64.3               h577aef8_0    conda-forge
hdf4                      4.2.13            h84186c3_1003    conda-forge
hdf5                      1.10.2               hc401514_3    conda-forge
icu                       58.2              h0a44026_1000    conda-forge
jpeg                      9d                   h0b31af3_0    conda-forge
json-c                    0.13.1            h575e443_1002    conda-forge
kealib                    1.4.7                h40e48e4_6
krb5                      1.16.3            h24a3359_1000    conda-forge
libblas                   3.8.0               14_openblas    conda-forge
libcblas                  3.8.0               14_openblas    conda-forge
libcurl                   7.64.0               h76de61e_0    conda-forge
libcxx                    10.0.0               h1af66ff_2    conda-forge
libdap4                   3.19.1            hae55d67_1000    conda-forge
libedit                   3.1.20170329      hcfe32e1_1001    conda-forge
libffi                    3.2.1             h4a8c4bd_1007    conda-forge
libgdal                   2.3.2                h7b1ea53_0
libgfortran               3.0.1                         0    conda-forge
libiconv                  1.15              h0b31af3_1006    conda-forge
libkml                    1.3.0             hed7d534_1010    conda-forge
liblapack                 3.8.0               14_openblas    conda-forge
libnetcdf                 4.6.1              h34af652_200    conda-forge
libopenblas               0.3.7                hd44dcd8_1    conda-forge
libpng                    1.6.37               hbbe82c9_1    conda-forge
libpq                     10.6              hbe1e24e_1000    conda-forge
libspatialindex           1.9.3                h4a8c4bd_3    conda-forge
libspatialite             4.3.0a              ha12ebda_19
libssh2                   1.8.0             hf30b1f0_1003    conda-forge
libtiff                   4.1.0                h2ae36a8_6    conda-forge
libwebp-base              1.1.0                h0b31af3_3    conda-forge
libxml2                   2.9.9                hd80cff7_2    conda-forge
lz4-c                     1.9.2                h4a8c4bd_1    conda-forge
munch                     2.5.0                      py_0    conda-forge
ncurses                   6.1               h0a44026_1002    conda-forge
numpy                     1.18.4           py37h7687784_0    conda-forge
openjpeg                  2.3.1                h254dc36_3    conda-forge
openssl                   1.0.2u               h0b31af3_0    conda-forge
pandas                    1.0.4            py37h94625e5_0    conda-forge
pcre                      8.44                 h4a8c4bd_0    conda-forge
pip                       20.1.1                     py_1    conda-forge
pixman                    0.38.0            h01d97ff_1003    conda-forge
poppler                   0.75.0               hd5eb092_0    conda-forge
poppler-data              0.4.9                         1    conda-forge
proj4                     5.0.1                h1de35cc_0
pyproj                    1.9.5.1          py37h833a5d7_1
python                    3.7.0             h145921a_1006    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pytz                      2020.1             pyh9f0ad1d_0    conda-forge
readline                  7.0               hcfe32e1_1001    conda-forge
rtree                     0.9.4            py37h8526d28_1    conda-forge
setuptools                47.1.1           py37hc8dfbb8_0    conda-forge
shapely                   1.6.4           py37h2e8a847_1000    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
sqlite                    3.28.0               h9721f7c_0    conda-forge
tk                        8.6.10               hbbe82c9_0    conda-forge
wheel                     0.34.2                     py_1    conda-forge
xerces-c                  3.2.2             h4db8090_1003    conda-forge
xz                        5.2.5                h0b31af3_0    conda-forge
zlib                      1.2.11            h0b31af3_1006    conda-forge
zstd                      1.4.4                h4b3e974_3    conda-forge

how are these commands different? Default isn't listed in the channels in the .yml?

bw4sz commented 4 years ago

I'm going to leave this comment here since it may be of use, but the problem was specifically, python 3.7.0.

Changing to

(DeepForest_JointPrediction) MacBook-Pro:DeepForest_JointPrediction ben$ cat environment.yml
name: DeepForest_JointPrediction
channels:
  - conda-forge
dependencies:
  - python=3.7
  - geopandas
(DeepForest_JointPrediction) MacBook-Pro:DeepForest_JointPrediction ben$ python
Python 3.7.6 | packaged by conda-forge | (default, Jun  1 2020, 18:33:30)
[Clang 9.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import geopandas
>>> geopandas.__version__
'0.7.0'

so its just python 3.7.0 that has a problem. Unless there is some very particular need, this shouldn't be an issue, but it did trip me up.

ocefpaf commented 4 years ago

how are these commands different? Default isn't listed in the channels in the .yml?

conda will use the channels that are in your .condarc. Please see https://conda-forge.org/docs/user/tipsandtricks.html#how-to-fix-it