[MacPorts] #58515: py-scikit-learn @0.21.1: IndexError: list index out of range

MacPorts noreply at macports.org
Fri May 24 00:35:59 UTC 2019


#58515: py-scikit-learn @0.21.1: IndexError: list index out of range
------------------------+-----------------------------
 Reporter:  ryandesign  |      Owner:  stromnov
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  py-scikit-learn
------------------------+-----------------------------
 [https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/89707/steps
 /install-port/logs/stdio Build fails]:

 {{{
 Partial import of sklearn during the build process.
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py:274:
 UserWarning: Unknown distribution option: 'project_urls'
   warnings.warn(msg)
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py:274:
 UserWarning: Unknown distribution option: 'python_requires'
   warnings.warn(msg)
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py:274:
 UserWarning: Unknown distribution option: 'install_requires'
   warnings.warn(msg)
 Traceback (most recent call last):
   File "setup.py", line 290, in <module>
     setup_package()
   File "setup.py", line 286, in setup_package
     setup(**metadata)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/distutils/core.py", line 137, in setup
     config = configuration()
   File "setup.py", line 174, in configuration
     config.add_subpackage('sklearn')
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
     caller_level = 2)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/distutils/misc_util.py", line 1005, in get_subpackage
     caller_level = caller_level + 1)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/distutils/misc_util.py", line 942, in
 _get_configuration_from_setup_py
     config = setup_module.configuration(*args)
   File "sklearn/setup.py", line 80, in configuration
     maybe_cythonize_extensions(top_path, config)
   File "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-scikit-
 learn/py37-scikit-learn/work/scikit-
 learn-0.21.1/sklearn/_build_utils/__init__.py", line 68, in
 maybe_cythonize_extensions
     with_openmp = check_openmp_support()
   File "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-scikit-
 learn/py37-scikit-learn/work/scikit-
 learn-0.21.1/sklearn/_build_utils/openmp_helpers.py", line 104, in
 check_openmp_support
     if 'nthreads=' in output[0]:
 IndexError: list index out of range
 }}}

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


More information about the macports-tickets mailing list