Estou usando o windows10 64 bits, meu os.name é 'nt', usei o pip para instalar, mas está reclamando sobre o spatialindex_c.dll
File "C:\Users\Bachir\AppData\Local\Temp\pip-build-td64lrth\rtree\rtree\core.py", line 101, in <module>
raise OSError("could not find or load spatialindex_c.dll")
OSError: could not find or load spatialindex_c.dll
Eu baixei o rtree-0.8.2 e, em seguida, execute o python setup.py install e tenho a mesma mensagem
PS C:\Users\Bachir\documents\Python Scripts\Rtree-0.8.2> python setup.py install
Traceback (most recent call last):
File "setup.py", line 4, in <module>
import rtree
File "C:\Users\Bachir\documents\Python Scripts\Rtree-0.8.2\rtree\__init__.py", line 1, in <module>
from .index import Rtree
File "C:\Users\Bachir\documents\Python Scripts\Rtree-0.8.2\rtree\index.py", line 6, in <module>
from . import core
File "C:\Users\Bachir\documents\Python Scripts\Rtree-0.8.2\rtree\core.py", line 101, in <module>
raise OSError("could not find or load spatialindex_c.dll")
OSError: could not find or load spatialindex_c.dll
PS C:\Users\Bachir\documents\Python Scripts\Rtree-0.8.2>
Carreguei os arquivos DLL do spatialindex 'libspatialindex-1.8.1-win-msvc-2010-x64-x32.zip'. esse arquivo contém 32 e 64 bits, descompacte e coloque na pasta de instalação, ao instalar usando python setuo.py, instale-o ainda reclamando do arquivo dll spatialindex