Opened 4 years ago
Last modified 4 years ago
#60955 closed defect
`py38-scikit-learn` depends on `threadpoolctl`. — at Initial Version
Reported by: | iangow (Ian Gow) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-scikit-learn |
Description
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'
`