ECMWFCode4Earth / ml_drought

Machine learning to better predict and understand drought. Moving github.com/ml-clim
https://ml-clim.github.io/drought-prediction/
92 stars 18 forks source link

Geopandas error on mac `ImportError: dlopen Library not loaded: @rpath/libfontconfig.1.dylib` #33

Closed tommylees112 closed 5 years ago

tommylees112 commented 5 years ago

Answered here:

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)?


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__)"