ERROR: Could not build wheels for scikit-learn, which is required to install pyproject.toml-based projects

Viewed 18583

While I running this command on command prompt

C:\Users\Sayan Saha>pip install scikit-learn

I am getting this error:

ERROR: Could not build wheels for scikit-learn, which is required to install pyproject.toml-based projects
1 Answers

What you can do go to this URL and search for Scikit-learn. It support wheel file for python 3.10

You can download files there are two types of file

  1. scikit_learn‑0.24.2‑cp310‑cp310‑win_amd64.whl

  2. scikit_learn‑0.24.2‑cp310‑cp310‑win32.whl

So according to your python bit version you can download wheel file

and give full path for installing in cmd like (This for Python 64-bit so):

pip install filepath\scikit_learn‑0.24.2‑cp310‑cp310‑win_amd64.whl

For version 1.0.1 install file according to python version with pip command as above.

scikit_learn‑1.0.1‑cp310‑cp310‑win32.whl
scikit_learn‑1.0.1‑cp39‑cp39‑win_amd64.whl
Related