ArcGIS 2.8.0 GeoPandas Error - rtree problem

07-11-2021 01:41 PM
New Contributor

Hello all;

In ArcGIS Pro 2.8.0 I created a clone of the default environment and  installed GeoPandas:

conda install -c conda-forge geopandas


Then in ArcGIS Pro notebook when I tried to import geopandas I got this message: 

OSError: could not find or load spatialindex_c-64.dll

Based on the advice on GitHub I downgraded rtree to 0.9.3

conda install -c conda-forge rtree=0.9.3


And then I could import geopandas using ArcGIS Pro notebook:


I am wondering if anyone of you had this problem with rtree after installing geopandas and whether there is an easier fix.


0 Kudos
3 Replies
MVP Esteemed Contributor

anaconda main uses __version__ = '0.9.7

rtree is listed on the default channel

main/win-64 (

versions 0.9.3, 0.9.4 and 0.9.7

if you need 9.3 try installing from the default channel 

... sort of retired...
0 Kudos
MVP Regular Contributor

I've had similar issues previously when mixing channels. I avoid using conda-forge with arcgispro-py clones (esri, defaults channels) now.

0 Kudos
New Contributor II

I followed @Boroushaki 's method, but doesn't work (using conda install.... in a clone env).
And what is worse is that after I modified rtree to 0.9.3 in the clone env, I can't even initialise notebook kernel.....
Do you have any suggestion? I found many people having this problem.

0 Kudos