You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Attempting to import rasterstats on Python 3.12 results in the following error:
File ~/.conda/envs/comps/lib/python3.12/site-packages/rasterstats/main.py:8
import numpy.distutils.system_info as sysinfo
ModuleNotFoundError: No module named 'numpy.distutils'
To Reproduce
I was able to reproduce this error on both Windows 11 and Linux (arch) by creating a new anaconda env with the latest python version, installing spyder and rasterstats, and attempting to import rasterstats into my script in spyder