[MacPorts] #71327: NumPy: Import error symbol not found in flat namespace '_ccopy$NEWLAPACK_'
MacPorts
noreply at macports.org
Mon Nov 18 20:13:16 UTC 2024
#71327: NumPy: Import error symbol not found in flat namespace '_ccopy$NEWLAPACK_'
--------------------------+------------------------
Reporter: jbgoette | Owner: reneeotten
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.10.4
Resolution: | Keywords:
Port: py312-numpy |
--------------------------+------------------------
Comment (by reneeotten):
okay, that doesn't look correct as it should be linking to a BLAS/LAPACK
library, in your case (as is happening for me) the Accelerate framework.
{{{
> otool -L
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
/site-packages/numpy/linalg/_umath_linalg.cpython-312-darwin.so
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
/site-packages/numpy/linalg/_umath_linalg.cpython-312-darwin.so:
/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
(compatibility version 1.0.0, current version 4.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1351.0.0)
}}}
I suspect you got a binary that was build on one of our buildbots. Can you
please try to build it yourself locally and see if that resolves the
problem?
{{{
sudo port uninstall py312-numpy
sudo port clean --all py312-numpy
sudo port -dvs install py312-numpy
}}}
it will likely warn you that uninstalling will break some ports; you can
acknowledge that and continue as we will rebuild the port immediately
after. If these steps solve the problem then the issue is somehow
localized to the buildbot and that narrows down where to look for
problems.
--
Ticket URL: <https://trac.macports.org/ticket/71327#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list