Install GeoPandas on macOS Mojave
Published in
1 min readNov 27, 2018
Step-by-step to guide you how to install geopandas on macOS.
Environment: Make sure you are using python in anaconda environment.
I have a problem installing geopandas, so here I provide an alternative solution to install it.
Steps
1. Install geopandas (by officinal guide)
2. Install one dependence
Step 1. Install geopandas
(bash) >>> conda install -c conda-forge geopandas
After installation, if you have import error like this:
ImportError: dlopen(/Users/<username>/anaconda3/lib/python3.6/site-packages/fiona/ogrext.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libuuid.1.dylib
Referenced from: /Users/<username>/anaconda3/lib/libgdal.20.dylib
Reason: image not found
Try step 2 to install some dependences
Step 2. Install one dependence. According to the issue.
(bash) >>> conda install -c conda-forge fiona
Now, let’s test it.
(bash) >>> python
(python) >>> import geopandas