diff --git a/fastremap.pyx b/fastremap.pyx index 7fad14c..dcd6ad8 100644 --- a/fastremap.pyx +++ b/fastremap.pyx @@ -29,6 +29,7 @@ import operator import numpy as np cimport numpy as cnp +cnp.import_array() from libcpp.vector cimport vector diff --git a/setup.py b/setup.py index cf916c9..b245bdb 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def __repr__(self): setuptools.setup( setup_requires=['pbr', 'cython', 'numpy'], - python_requires=">=3.7,<4.0", + python_requires=">=3.8,<4.0", pbr=True, ext_modules=[ setuptools.Extension(