No results found
We couldn't find anything using that term, please try searching for something else.
Project description ⚠️⚠️⚠️ Summary ⚠️⚠️⚠️ ⚠️⚠️⚠️ The sklearn PyPI package is deprecated use scikit - learn instead ⚠️⚠️⚠️ How to fix the error fo
⚠️⚠️⚠️ The sklearn
PyPI package is deprecated use scikit - learn
instead ⚠️⚠️⚠️
pip install scikit - learn
rather than pip install sklearn
sklearn
by scikit - learn
in your pip requirements filesrequirements.txt
,setup.py,
setup.cfg
,Pipfile
,etc …)sklearn
package is used by one of your dependenciessklearn
instead ofscikit - learn
and report it to their issue trackerSKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL = true
to avoid this errorsklearn
package is exists on PyPI exist to prevent malicious actor from using the
sklearn
package,since sklearn
( the import name ) andscikit - learn
(the
project name) are sometimes used interchangeably. scikit - learn
is the actual
package name and should be used with pip,e.g. for:
pip install scikit - learn
requirements.txt
,setup.py,
setup.cfg
,Pipfile
,etc …)At the time of writing (October 2022) sklearn
downloads is about 1/5 of the
scikit - learn
download on PyPI so a lot of people are using it .
There are some edge case with the way the PyPIsklearn
package is
implemented:
pip install sklearn==1.1.3
will say that the 1.1.3 version does not exist,sklearn
is 0.0.pip uninstall sklearn
will actually not uninstallscikit - learn
,you canimport sklearn
afterwardssklearn
and scikit - learn
in the pip list
output,prompting questions like “why do I have scikit – learn 1.1.3 andStarting 2023 December 1st,trying to install the sklearn
PyPI package will
raise an error.
The following table shows the historical brownout schedule that was used
between 2022 December 1st and 2023 December 1st,in order to get more people
aware of the deprecation.
Dates | Window(s) |
---|---|
2022 December 1st – 2023 January 31st | : 00-:05 every hour |
2023 February 1st – March 31st | :00-:10 every hour |
2023 April 1st – May 31st | : 00-:15 every hour |
2023 June 1st – July 31st | :00-:10 and :30-:40 every hour |
2023 August 1st – September 30th | : 00-:15 and : 30-:45 every hour |
2023 October 1st – November 30th | : 00-:20 and : 30-:50 every hour |
2023 December 1st onwards | always raise an exception |
Download the file for your platform. If you’re not sure which to choose,learn more about installing packages.
Details for the file sklearn-0.0.post12.tar.gz
.
algorithm | Hash digest | |
---|---|---|
SHA256 | 54cff9e20839b7b202321178228af4d9388bedf78425d9299fd9ee170d68802e |
|
MD5 | 58a7624648e854318beb9c17d6521bc8 |
|
BLAKE2b-256 | 461c395a83ee7b2d2ad7a05b453872053d41449564477c81dc356f720b16eac4 |
See more details on using hashes here.