Opened 2 hours ago
#71327 new defect
NumPy: Import error symbol not found in flat namespace '_ccopy$NEWLAPACK_'
Reported by: | jbgoette (Jörg Götte) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.4 |
Keywords: | Cc: | ||
Port: | py312-numoy |
Description
I tried to install py312-pandas, which failed. The error pointed me to a failing NumPy import and when I import NumPy from within python3.12 I get the following error messages:
Python 3.12.7 (main, Oct 5 2024, 01:39:55) [Clang 16.0.0 (clang-1600.0.26.4)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/init.py", line 149, in <module>
from . import lib
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/lib/init.py", line 23, in <module>
from . import index_tricks
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/lib/index_tricks.py", line 12, in <module>
import numpy.matrixlib as matrixlib
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/matrixlib/init.py", line 4, in <module>
from . import defmatrix
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/matrixlib/defmatrix.py", line 12, in <module>
from numpy.linalg import matrix_power
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/linalg/init.py", line 73, in <module>
from . import linalg
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/linalg/linalg.py", line 35, in <module>
from numpy.linalg import _umath_linalg
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/linalg/_umath_linalg.cpython-312-darwin.so, 0x0002): symbol not found in flat namespace '_ccopy$NEWLAPACK_'
py312-numoy itsefl install without errors. The same problem exists for py311-numoy and py313-numpy for me.