conda-forge / geopandas-feedstock

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

import geopandas keeps Jupyter busy forever #88

Closed iuryt closed 3 years ago

iuryt commented 3 years ago

Issue:

I am simply trying to run import geopandas and it keeps Jupyter busy, not importing it. I have installed it through conda install -c conda-forge geopandas.


Environment (conda list):

``` $ conda list # Name Version Build Channel _libgcc_mutex 0.1 main argon2-cffi 20.1.0 py36h7b6447c_1 async_generator 1.10 py36h28b3542_0 attrs 20.3.0 pyhd3eb1b0_0 backcall 0.2.0 pyhd3eb1b0_0 bleach 3.2.3 pyhd3eb1b0_0 bokeh 2.2.3 py36h5fab9bb_0 conda-forge boost-cpp 1.70.0 ha2d47e9_1 conda-forge bzip2 1.0.8 h516909a_3 conda-forge c-ares 1.17.1 h36c2ea0_0 conda-forge ca-certificates 2020.12.5 ha878542_0 conda-forge cairo 1.14.12 h8948797_3 certifi 2020.12.5 py36h5fab9bb_1 conda-forge cffi 1.14.4 py36h261ae71_0 click 7.1.2 pyh9f0ad1d_0 conda-forge click-plugins 1.1.1 py_0 conda-forge cligj 0.7.1 pyhd8ed1ab_0 conda-forge cloudpickle 1.6.0 py_0 conda-forge contextvars 2.4 py_0 conda-forge curl 7.71.1 he644dc0_8 conda-forge cycler 0.10.0 py_2 conda-forge cytoolz 0.11.0 py36h1d69622_1 conda-forge dask 2021.1.1 pyhd8ed1ab_0 conda-forge dask-core 2021.1.1 pyhd8ed1ab_0 conda-forge dbus 1.13.18 hb2f20db_0 decorator 4.4.2 pyhd3eb1b0_0 defusedxml 0.6.0 py_0 distributed 2021.1.1 py36h5fab9bb_0 conda-forge docrep 0.2.7 py_0 conda-forge entrypoints 0.3 py36_0 et-xmlfile 1.0.1 pypi_0 pypi expat 2.2.10 he6710b0_2 fiona 1.7.13 py36hb00a9d7_1 conda-forge fontconfig 2.13.0 h9420a91_0 freetype 2.10.4 h5ab3b9f_0 freexl 1.0.5 h516909a_1002 conda-forge fsspec 0.8.5 pyhd8ed1ab_0 conda-forge future 0.18.2 py36h5fab9bb_3 conda-forge gdal 2.2.2 py36hc209d97_1 geopandas 0.6.3 py_0 conda-forge geos 3.6.2 heeff764_2 giflib 5.1.9 h516909a_0 conda-forge glib 2.66.1 h92f7085_0 gst-plugins-base 1.14.0 h8213a91_2 gstreamer 1.14.0 h28cd5cc_2 hdf4 4.2.13 0 conda-forge hdf5 1.10.1 2 conda-forge heapdict 1.0.1 py_0 conda-forge icu 58.2 he6710b0_3 immutables 0.14 py36h8c4c3a4_1 conda-forge importlib-metadata 2.0.0 py_1 importlib_metadata 2.0.0 1 ipykernel 5.3.4 py36h5ca1d4c_0 ipython 7.16.1 py36h5ca1d4c_0 ipython_genutils 0.2.0 pyhd3eb1b0_1 ipywidgets 7.6.3 pyhd3eb1b0_1 jdcal 1.4.1 pypi_0 pypi jedi 0.18.0 py36h06a4308_1 jinja2 2.11.2 pyhd3eb1b0_0 jpeg 9b h024ee3a_2 json-c 0.12.1 h470a237_1 conda-forge jsonschema 3.2.0 py_2 jupyter 1.0.0 py36_7 jupyter_client 6.1.7 py_0 jupyter_console 6.2.0 py_0 jupyter_core 4.7.0 py36h06a4308_0 jupyterlab_pygments 0.1.2 py_0 jupyterlab_widgets 1.0.0 pyhd3eb1b0_1 kealib 1.4.7 4 conda-forge kiwisolver 1.3.1 py36h51d7077_0 conda-forge krb5 1.17.2 h926e7f8_0 conda-forge lcms2 2.11 h396b838_0 ld_impl_linux-64 2.33.1 h53a641e_7 libblas 3.9.0 7_openblas conda-forge libcblas 3.9.0 7_openblas conda-forge libcurl 7.71.1 hcdd3856_8 conda-forge libdap4 3.19.1 0 conda-forge libedit 3.1.20191231 h14c3975_1 libev 4.33 h516909a_1 conda-forge libffi 3.3 he6710b0_2 libgcc-ng 9.1.0 hdf63c60_0 libgdal 2.2.2 h804cdde_1 libgfortran 3.0.0 1 conda-forge libgfortran-ng 7.5.0 h14aa051_18 conda-forge libgfortran4 7.5.0 h14aa051_18 conda-forge libkml 1.3.0 h4fcabce_1010 conda-forge liblapack 3.9.0 7_openblas conda-forge libnetcdf 4.4.1.1 10 conda-forge libnghttp2 1.41.0 h8cfc5f6_2 conda-forge libopenblas 0.3.12 pthreads_hb3c22a3_1 conda-forge libpng 1.6.37 hbc83047_0 libpq 12.3 h255efa7_3 conda-forge libsodium 1.0.18 h7b6447c_0 libspatialindex 1.9.3 he1b5a44_3 conda-forge libspatialite 4.3.0a h9968ff2_1023 conda-forge libssh2 1.9.0 hab1572f_5 conda-forge libstdcxx-ng 9.1.0 hdf63c60_0 libtiff 4.1.0 h2733197_1 libuuid 1.0.3 h1bed415_2 libxcb 1.14 h7b6447c_0 libxml2 2.9.10 hb55368b_3 locket 0.2.0 py_2 conda-forge lz4-c 1.9.2 he1b5a44_3 conda-forge markupsafe 1.1.1 py36h7b6447c_0 matplotlib 3.3.2 h06a4308_0 matplotlib-base 3.3.2 py36h817c723_0 mistune 0.8.4 py36h7b6447c_0 msgpack-python 1.0.1 py36hff7bd54_0 munch 2.5.0 py_0 conda-forge nbclient 0.5.1 py_0 nbconvert 6.0.7 py36_0 nbformat 5.1.2 pyhd3eb1b0_1 ncurses 6.2 he6710b0_1 nest-asyncio 1.4.3 pyhd3eb1b0_0 notebook 6.2.0 py36h06a4308_0 numpy 1.18.1 py36h7314795_1 conda-forge olefile 0.46 pyh9f0ad1d_1 conda-forge openjpeg 2.3.1 h981e76c_3 conda-forge openpyxl 3.0.6 pypi_0 pypi openssl 1.1.1h h516909a_0 conda-forge packaging 20.8 pyhd3eb1b0_0 pandas 1.1.4 py36hd87012b_0 conda-forge pandoc 2.11 hb0f4dca_0 pandocfilters 1.4.3 py36h06a4308_1 parso 0.8.1 pyhd3eb1b0_0 partd 1.1.0 py_0 conda-forge patsy 0.5.1 py_0 conda-forge pcre 8.44 he6710b0_0 pexpect 4.8.0 pyhd3eb1b0_3 pickleshare 0.7.5 pyhd3eb1b0_1003 pillow 8.1.0 py36he98fc37_0 pip 20.3.3 py36h06a4308_0 pixman 0.40.0 h36c2ea0_0 conda-forge poppler 0.81.0 he6a58d2_1 poppler-data 0.4.10 0 conda-forge proj4 4.9.3 h516909a_9 conda-forge prometheus_client 0.9.0 pyhd3eb1b0_0 prompt-toolkit 3.0.8 py_0 prompt_toolkit 3.0.8 0 psutil 5.4.8 py36h14c3975_1000 conda-forge ptyprocess 0.7.0 pyhd3eb1b0_2 pycparser 2.20 py_2 pygments 2.7.4 pyhd3eb1b0_0 pyparsing 2.4.7 pyhd3eb1b0_0 pyproj 1.9.5.1 py36h2944ce7_1006 conda-forge pyqt 5.9.2 py36h05f1152_2 pyrsistent 0.17.3 py36h7b6447c_0 python 3.6.12 hcff3b4d_2 python-dateutil 2.8.1 pyhd3eb1b0_0 python_abi 3.6 1_cp36m conda-forge pytz 2020.5 pyhd8ed1ab_0 conda-forge pyyaml 5.3.1 py36he6145b8_1 conda-forge pyzmq 20.0.0 py36h2531618_1 qt 5.9.7 h5867ecd_1 qtconsole 4.7.7 py_0 qtpy 1.9.0 py_0 readline 8.1 h27cfd23_0 rtree 0.9.7 py36hb415506_1 conda-forge scipy 1.5.3 py36h976291a_0 conda-forge seaborn 0.11.1 hd8ed1ab_1 conda-forge seaborn-base 0.11.1 pyhd8ed1ab_1 conda-forge send2trash 1.5.0 pyhd3eb1b0_1 setuptools 52.0.0 py36h06a4308_0 shapely 1.6.4 py36h0c48222_1000 conda-forge sip 4.19.8 py36hf484d3e_0 six 1.15.0 py36h06a4308_0 sortedcontainers 2.3.0 pyhd8ed1ab_0 conda-forge sqlite 3.33.0 h62c20be_0 statsmodels 0.12.1 py36ha112f06_1 conda-forge tblib 1.6.0 py_0 conda-forge terminado 0.9.2 py36h06a4308_0 testpath 0.4.4 pyhd3eb1b0_0 tk 8.6.10 hbc83047_0 toolz 0.11.1 py_0 conda-forge tornado 6.1 py36h27cfd23_0 traitlets 4.3.3 py36_0 typing_extensions 3.7.4.3 py_0 conda-forge util-linux 2.36 py36hf8b52b0_0 conda-forge wcwidth 0.2.5 py_0 webencodings 0.5.1 py36_1 wheel 0.36.2 pyhd3eb1b0_0 widgetsnbextension 3.5.1 py36_0 xarray 0.16.2 pyhd8ed1ab_0 conda-forge xerces-c 3.2.2 hea5cb30_1003 conda-forge xgcm 0.5.1 py_0 conda-forge xlrd 2.0.1 pyhd8ed1ab_3 conda-forge xz 5.2.5 h7b6447c_0 yaml 0.2.5 h516909a_0 conda-forge zeromq 4.3.3 he6710b0_3 zict 2.0.0 py_0 conda-forge zipp 3.4.0 pyhd3eb1b0_0 zlib 1.2.11 h7b6447c_3 zstd 1.4.5 h9ceee32_0 ```


Details about conda and system ( conda info ):

``` $ conda info active environment : py36 active env location : /home/user/miniconda3/envs/py36 shell level : 2 user config file : /home/user/.condarc populated config files : conda version : 4.9.2 conda-build version : not installed python version : 3.8.5.final.0 virtual packages : __glibc=2.12=0 __unix=0=0 __archspec=1=x86_64 base environment : /home/user/miniconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/user/miniconda3/pkgs /home/user/.conda/pkgs envs directories : /home/user/miniconda3/envs /home/user/.conda/envs platform : linux-64 user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Linux/2.6.32-754.6.3.el6.x86_64 rhel/6.10 glibc/2.12 UID:GID : 30109:1066 netrc file : /home/user/.netrc offline mode : False ```
martinfleis commented 3 years ago

Hi, can you make sure you are using the latest geopandas (0.8.2)? My sense is that it will have to do something with installation, so reinstalling the latest may help.

ocefpaf commented 3 years ago

@iuryt do you see all those packages that do not have conda-forge in the channel listing? Those are coming from defaults. This is the "classic" channel mixing problem. Please take a look at https://conda-forge.org/docs/user/tipsandtricks.html#how-to-fix-it and see how to fix it.

PS: recently we even recommend to remove defaults entirely to avoid compatibility issues.

iuryt commented 3 years ago

@ocefpaf and @martinfleis Thanks for the help. Indeed, I was creating an env installing jupyter with the defaults channel. Now I removed all other channels before even creating the env and it seems to work.