[MacPorts] #68787: py38-scipy @1.10.1_1+gfortran+openblas: Error: 'numpy' must be installed before running the build.
MacPorts
noreply at macports.org
Wed Nov 29 23:07:43 UTC 2023
#68787: py38-scipy @1.10.1_1+gfortran+openblas: Error: 'numpy' must be installed
before running the build.
---------------------------+-----------------------
Reporter: odysseus9672 | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-scipy |
---------------------------+-----------------------
Comment (by erikbs):
It looks like the latest NumPy version does not support ATLAS at all, so I
went with the backup plan and manually edited in `allow_noblas = true` in
NumPy’s Meson file, just to get NumPy installed. Not having BLAS support
is of course not acceptable, but now I can import NumPy without errors,
which was the goal this time. My assumption was that once NumPy actually
worked, SciPy would install. And it did. It even imported successfully,
until I deactivated the BLAS-less NumPy and re-installed the one linked to
OpenBLAS. Then it spews out the same import errors as `import numpy`.
The actual problem here therefore seems to be that the OpenBLAS port is
broken after the migration to CMake, apparently by not providing all the
symbols NumPy needs. Since NumPy cannot be imported successfully, SciPy
thinks it is not installed and refuses to build.
--
Ticket URL: <https://trac.macports.org/ticket/68787#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list