From: apremgeorge <apremgeorge@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: 'threadpoolctl' should be included in 'python3-scikit-learn' package
Date: Fri, 03 Jun 2022 04:55:33 +0200 [thread overview]
Message-ID: <20220603025533.3GV-MbXZr62W1CHOrr2x20iS52-iZn0e2R_u0tS6-3U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31976@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 4493 bytes --]
New comment by apremgeorge on void-packages repository
https://github.com/void-linux/void-packages/issues/31976#issuecomment-1145535621
Comment:
I'm getting the same Error with python 3.9.5
scikit-learn Version: 0.24.2
threadpoolctl Version: 3.0.0
```
from sklearn.cluster import KMeans
ModuleNotFoundError Traceback (most recent call last)
c:\mb\MBA\MBA4.py in <cell line: 1>()
----> [66](file:///c%3A/mb/MBA/MBA4.py?line=65) from sklearn.cluster import KMeans
File c:\Users\mb\anaconda3\envs\AEKaggle\lib\site-packages\sklearn\cluster\__init__.py:6, in <module>
[1](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/__init__.py?line=0) """
[2](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/__init__.py?line=1) The :mod:`sklearn.cluster` module gathers popular unsupervised clustering
[3](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/__init__.py?line=2) algorithms.
[4](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/__init__.py?line=3) """
----> [6](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/__init__.py?line=5) from ._spectral import spectral_clustering, SpectralClustering
[7](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/__init__.py?line=6) from ._mean_shift import (mean_shift, MeanShift,
[8](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/__init__.py?line=7) estimate_bandwidth, get_bin_seeds)
[9](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/__init__.py?line=8) from ._affinity_propagation import affinity_propagation, AffinityPropagation
File c:\Users\mb\anaconda3\envs\AEKaggle\lib\site-packages\sklearn\cluster\_spectral.py:19, in <module>
[17](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=16) from ..neighbors import kneighbors_graph, NearestNeighbors
[18](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=17) from ..manifold import spectral_embedding
---> [19](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=18) from ._kmeans import k_means
[22](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=21) @_deprecate_positional_args
[23](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=22) def discretize(vectors, *, copy=True, max_svd_restarts=30, n_iter_max=20,
[24](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=23) random_state=None):
[25](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=24) """Search for a partition matrix (clustering) which is closest to the
[26](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=25) eigenvector embedding.
[27](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=26)
(...)
[73](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=72)
[74](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_spectral.py?line=73) """
File c:\Users\mb\anaconda3\envs\AEKaggle\lib\site-packages\sklearn\cluster\_kmeans.py:18, in <module>
[16](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_kmeans.py?line=15) import numpy as np
[17](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_kmeans.py?line=16) import scipy.sparse as sp
---> [18](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_kmeans.py?line=17) from threadpoolctl import threadpool_limits
[19](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_kmeans.py?line=18) from threadpoolctl import threadpool_info
[21](file:///c%3A/Users/mb/anaconda3/envs/AEKaggle/lib/site-packages/sklearn/cluster/_kmeans.py?line=20) from ..base import BaseEstimator, ClusterMixin, TransformerMixin
ModuleNotFoundError: No module named 'threadpoolctl'
```
prev parent reply other threads:[~2022-06-03 2:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-15 9:22 [ISSUE] " rivanfebrian123
2021-07-16 12:27 ` [ISSUE] [CLOSED] " ahesford
2021-07-16 12:27 ` ahesford
2021-07-16 15:01 ` rivanfebrian123
2022-06-03 2:55 ` apremgeorge [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220603025533.3GV-MbXZr62W1CHOrr2x20iS52-iZn0e2R_u0tS6-3U@z \
--to=apremgeorge@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).