[MacPorts] #71411: py-scipy: subport py39-scipy does not import
MacPorts
noreply at macports.org
Wed Nov 27 14:40:35 UTC 2024
#71411: py-scipy: subport py39-scipy does not import
-----------------------+---------------------------
Reporter: petrrr | Owner: defamichaelld
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: py-scipy |
-----------------------+---------------------------
Changes (by petrrr):
* status: closed => reopened
* resolution: fixed =>
Old description:
> The py39 subport of py-scipy seems to be broken and would not import
> scipy.linalg.
>
> {{{
> >>> import scipy
> >>> import scipy.linalg
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/scipy/linalg/__init__.py", line 203, in <module>
> from ._misc import *
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/scipy/linalg/_misc.py", line 4, in <module>
> from .lapack import get_lapack_funcs
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/scipy/linalg/lapack.py", line 827, in <module>
> from scipy.linalg import _flapack
> ImportError:
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/scipy/linalg/_flapack.cpython-39-darwin.so, 0x0002):
> symbol not found in flat namespace '_cgemqrt_'
> }}}
>
> Apparently a linking issue.
New description:
The py39 subport of py-scipy seems to be broken and would not import
scipy.linalg.
All other subports work fine.
macOS: 13.7.1 (22H221)
Hardware: MacBook Pro 16" 2021, M1 Max
{{{
>>> import scipy
>>> import scipy.linalg
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/scipy/linalg/__init__.py", line 203, in <module>
from ._misc import *
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/scipy/linalg/_misc.py", line 4, in <module>
from .lapack import get_lapack_funcs
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/scipy/linalg/lapack.py", line 827, in <module>
from scipy.linalg import _flapack
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/scipy/linalg/_flapack.cpython-39-darwin.so, 0x0002): symbol
not found in flat namespace '_cgemqrt_'
}}}
Apparently a linking issue.
--
Comment:
Added to description ...
All other subports work fine.
macOS: 13.7.1 (22H221)
Hardware: MacBook Pro 16" 2021, M1 Max
--
Ticket URL: <https://trac.macports.org/ticket/71411#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list