Opened 4 years ago

Last modified 4 years ago

#60955 closed defect

py38-scikit-learn: depends on `threadpoolctl`. — at Version 2

Reported by: iangow (Ian Gow) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-scikit-learn

Description (last modified by mf2k (Frank Schima))

It seems py38-scikit-learn depends on threadpoolctl, but this dependency isn't coded in.

Mac-Pro Downloads % python3                                         
Python 3.8.5 (default, Jul 21 2020, 18:31:18) 
[Clang 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from sklearn.cluster import AgglomerativeClustering
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sklearn/cluster/__init__.py", line 6, in <module>
    from ._spectral import spectral_clustering, SpectralClustering
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sklearn/cluster/_spectral.py", line 18, in <module>
    from ._kmeans import k_means
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/sklearn/cluster/_kmeans.py", line 18, in <module>
    from threadpoolctl import threadpool_limits
ModuleNotFoundError: No module named 'threadpoolctl'

Change History (2)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

In the future, please use WikiFormatting and add the port maintainer(s) to Cc (port info --maintainers py38-scikit-learn), if any.

comment:2 Changed 4 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: set to stromnov
Port: py-scikit-learn added; py38-scikit-learn removed
Status: newassigned
Summary: `py38-scikit-learn` depends on `threadpoolctl`.py38-scikit-learn: depends on `threadpoolctl`.
Note: See TracTickets for help on using tickets.