-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
BUG: scipy.special import broken with numpy 1.24.0rc1 #22673
Copy link
Copy link
Closed
Labels
Description
Describe the issue:
NumPy Rc seem to break some of SciPy ?
it might be a SciPy issue, but as it's the numpy RC.. I prefer to open it here.
Reproduce the code example:
conda create -n rc python==3.10
conda activate rc
pip install scipy numpy --pre
python -c 'from scipy.spatial.distance import euclidean' Error message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bussonniermatthias/miniforge3/envs/dl/lib/python3.10/site-packages/scipy/spatial/__init__.py", line 111, in <module>
from ._geometric_slerp import geometric_slerp
File "/Users/bussonniermatthias/miniforge3/envs/dl/lib/python3.10/site-packages/scipy/spatial/_geometric_slerp.py", line 9, in <module>
from scipy.spatial.distance import euclidean
File "/Users/bussonniermatthias/miniforge3/envs/dl/lib/python3.10/site-packages/scipy/spatial/distance.py", line 121, in <module>
from ..special import rel_entr
File "/Users/bussonniermatthias/miniforge3/envs/dl/lib/python3.10/site-packages/scipy/special/__init__.py", line 649, in <module>
from . import _ufuncs
ImportError: dlopen(/Users/bussonniermatthias/miniforge3/envs/dl/lib/python3.10/site-packages/...
...scipy/special/_ufuncs.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace (_npy_asinh)NumPy/Python version information:
1.24.0rc1 3.10.0 | packaged by conda-forge | (default, Nov 20 2021, 02:27:15) [Clang 11.1.0 ]
Reactions are currently unavailable