Open toshihikoyanase opened 1 month ago
Without PYTHON_GIL=0
, I saw another error as follows:
______________________________________________ ERROR collecting skimage/_shared/tests/test_coord.py _______________________________________________
skimage/_shared/tests/test_coord.py:5: in <module>
from scipy.spatial.distance import pdist, minkowski
../venv-skimage/lib/python3.13t/site-packages/scipy/spatial/__init__.py:110: in <module>
from ._kdtree import *
../venv-skimage/lib/python3.13t/site-packages/scipy/spatial/_kdtree.py:4: in <module>
from ._ckdtree import cKDTree, cKDTreeNode
scipy/spatial/_ckdtree.pyx:11: in init scipy.spatial._ckdtree
???
../venv-skimage/lib/python3.13t/site-packages/scipy/sparse/__init__.py:307: in <module>
from . import csgraph
../venv-skimage/lib/python3.13t/site-packages/scipy/sparse/csgraph/__init__.py:187: in <module>
from ._laplacian import laplacian
../venv-skimage/lib/python3.13t/site-packages/scipy/sparse/csgraph/_laplacian.py:7: in <module>
from scipy.sparse.linalg import LinearOperator
../venv-skimage/lib/python3.13t/site-packages/scipy/sparse/linalg/__init__.py:129: in <module>
from ._isolve import *
../venv-skimage/lib/python3.13t/site-packages/scipy/sparse/linalg/_isolve/__init__.py:4: in <module>
from .iterative import *
../venv-skimage/lib/python3.13t/site-packages/scipy/sparse/linalg/_isolve/iterative.py:5: in <module>
from scipy.linalg import get_lapack_funcs
../venv-skimage/lib/python3.13t/site-packages/scipy/linalg/__init__.py:203: in <module>
from ._misc import *
../venv-skimage/lib/python3.13t/site-packages/scipy/linalg/_misc.py:3: in <module>
from .blas import get_blas_funcs
../venv-skimage/lib/python3.13t/site-packages/scipy/linalg/blas.py:213: in <module>
from scipy.linalg import _fblas
E RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'scipy.linalg._fblas', which has not declared that it can run safely without the GIL. To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.
Out of curiosity which scipy version are you using?
Ah if https://anaconda.org/scientific-python-nightly-wheels/scikit-image/ it doesn't work, it's worth to reporting it.
I just found the
ConcurrencyError
when I tested the main branch of scikit-image. I'm not sure if it is a bug or my environmental issue, and I'll investigate it later.Setup
I created the virtual environment outside the scikit-image repository to avoid build errors related to numpy-inc-dir.
Then, I clone the main branch of scikit-image and followed the official installation guide: