This forum is shutting down! Please post new discussions at community.naturalcapitalproject.org
Error while running InVEST in Python enviroment
I am trying to run InVEST in Python but I got the message as the follows:
Traceback (most recent call last):
File "D:\InVEST\WaY\WAY.py", line 6, in <module>
File "C:\Python27\lib\site-packages\natcap\invest\__init__.py", line 8, in <module>
File "C:\Python27\lib\site-packages\pygeoprocessing\__init__.py", line 12, in <module>
from . import geoprocessing
File "C:\Python27\lib\site-packages\pygeoprocessing\geoprocessing.py", line 46, in <module>
File "C:\Python27\lib\site-packages\rtree\__init__.py", line 1, in <module>
from .index import Rtree
File "C:\Python27\lib\site-packages\rtree\index.py", line 5, in <module>
from . import core
File "C:\Python27\lib\site-packages\rtree\core.py", line 116, in <module>
raise OSError("could not find or load spatialindex_c.dll")
OSError: could not find or load spatialindex_c.dll
I tried to fix it by reinstall rtree package again, but it did not work. Do you have any idea how to solve it.
Thank you in advance.
Ps, I am using Window 10 64 bits, InVEST 3.4.4, Python 2.7.12 and the attachment is my script.