[MacPorts] #68076: py35-scikit-learn @0.22.2.post1: Symbol not found: __tlv_bootstrap

MacPorts noreply at macports.org
Tue Aug 29 03:46:07 UTC 2023


#68076: py35-scikit-learn @0.22.2.post1: Symbol not found: __tlv_bootstrap
------------------------+-----------------------------
 Reporter:  ryandesign  |      Owner:  stromnov
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  py-scikit-learn
------------------------+-----------------------------
 https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/168899/steps
 /install-port/logs/stdio
 {{{
 Partial import of sklearn during the build process.
 Traceback (most recent call last):
   File "setup.py", line 195, in check_package_status
     module = importlib.import_module(package)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/importlib/__init__.py",
 line 126, in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
   File "<frozen importlib._bootstrap>", line 985, in _gcd_import
   File "<frozen importlib._bootstrap>", line 968, in _find_and_load
   File "<frozen importlib._bootstrap>", line 957, in
 _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 697, in exec_module
   File "<frozen importlib._bootstrap>", line 222, in
 _call_with_frames_removed
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/scipy/__init__.py", line 156, in <module>
     from . import fft
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/scipy/fft/__init__.py", line 76, in <module>
     from ._basic import (
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/scipy/fft/_basic.py", line 1, in <module>
     from scipy._lib.uarray import generate_multimethod, Dispatchable
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/scipy/_lib/uarray.py", line 27, in <module>
     from ._uarray import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/scipy/_lib/_uarray/__init__.py", line 114, in <module>
     from ._backend import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/scipy/_lib/_uarray/_backend.py", line 15, in <module>
     from . import _uarray  # type: ignore
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/scipy/_lib/_uarray/_uarray.cpython-35m-darwin.so, 2):
 Symbol not found: __tlv_bootstrap
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/scipy/_lib/_uarray/_uarray.cpython-35m-darwin.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/scipy/_lib/_uarray/_uarray.cpython-35m-darwin.so
 Traceback (most recent call last):
   File "setup.py", line 303, in <module>
     setup_package()
   File "setup.py", line 293, in setup_package
     check_package_status('scipy', SCIPY_MIN_VERSION)
   File "setup.py", line 221, in check_package_status
     .format(package, req_str, instructions))
 ImportError: scipy is not installed.
 scikit-learn requires scipy >= 0.17.0.
 Installation instructions are available on the scikit-learn website: http
 ://scikit-learn.org/stable/install.html
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68076>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list