Description
this is the error i get when I try to download package
Using cached scikit-learn-extra-0.2.0.tar.gz (813 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.13.3 in c:\users\acer nitro 5\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn-extra) (1.24.2)
Requirement already satisfied: scipy>=0.19.1 in c:\users\acer nitro 5\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn-extra) (1.10.1)
Requirement already satisfied: scikit-learn>=0.23.0 in c:\users\acer nitro 5\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn-extra) (1.2.2)
Requirement already satisfied: joblib>=1.1.1 in c:\users\acer nitro 5\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn>=0.23.0->scikit-learn-extra) (1.2.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\acer nitro 5\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn>=0.23.0->scikit-learn-extra) (3.1.0)
Building wheels for collected packages: scikit-learn-extra
Building wheel for scikit-learn-extra (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for scikit-learn-extra (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [49 lines of output]
C:\Users\Acer Nitro 5\AppData\Local\Temp\pip-build-env-ig6kewu7\overlay\Lib\site-packages\setuptools\dist.py:788: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\benchmarks
copying benchmarks\bench_rbfsampler_fastfood.py -> build\lib.win-amd64-cpython-310\benchmarks
copying benchmarks_init_.py -> build\lib.win-amd64-cpython-310\benchmarks
creating build\lib.win-amd64-cpython-310\sklearn_extra
copying sklearn_extra_version.py -> build\lib.win-amd64-cpython-310\sklearn_extra
copying sklearn_extra_init_.py -> build\lib.win-amd64-cpython-310\sklearn_extra
creating build\lib.win-amd64-cpython-310\benchmarks_bench
copying benchmarks_bench\eigenpro_plot_mnist.py -> build\lib.win-amd64-cpython-310\benchmarks_bench
copying benchmarks_bench\eigenpro_plot_noisy_mnist.py -> build\lib.win-amd64-cpython-310\benchmarks_bench
copying benchmarks_bench\eigenpro_plot_synthetic.py -> build\lib.win-amd64-cpython-310\benchmarks_bench
copying benchmarks_bench\robust_plot_synthetic.py -> build\lib.win-amd64-cpython-310\benchmarks_bench
copying benchmarks_bench_init_.py -> build\lib.win-amd64-cpython-310\benchmarks_bench
creating build\lib.win-amd64-cpython-310\sklearn_extra\cluster
copying sklearn_extra\cluster_commonnn.py -> build\lib.win-amd64-cpython-310\sklearn_extra\cluster
copying sklearn_extra\cluster_k_medoids.py -> build\lib.win-amd64-cpython-310\sklearn_extra\cluster
copying sklearn_extra\cluster_init_.py -> build\lib.win-amd64-cpython-310\sklearn_extra\cluster
creating build\lib.win-amd64-cpython-310\sklearn_extra\kernel_approximation
copying sklearn_extra\kernel_approximation\test_fastfood.py -> build\lib.win-amd64-cpython-310\sklearn_extra\kernel_approximation
copying sklearn_extra\kernel_approximation_fastfood.py -> build\lib.win-amd64-cpython-310\sklearn_extra\kernel_approximation
copying sklearn_extra\kernel_approximation_init_.py -> build\lib.win-amd64-cpython-310\sklearn_extra\kernel_approximation
creating build\lib.win-amd64-cpython-310\sklearn_extra\kernel_methods
copying sklearn_extra\kernel_methods_eigenpro.py -> build\lib.win-amd64-cpython-310\sklearn_extra\kernel_methods
copying sklearn_extra\kernel_methods_init_.py -> build\lib.win-amd64-cpython-310\sklearn_extra\kernel_methods
creating build\lib.win-amd64-cpython-310\sklearn_extra\robust
copying sklearn_extra\robust\mean_estimators.py -> build\lib.win-amd64-cpython-310\sklearn_extra\robust
copying sklearn_extra\robust\robust_weighted_estimator.py -> build\lib.win-amd64-cpython-310\sklearn_extra\robust
copying sklearn_extra\robust_init_.py -> build\lib.win-amd64-cpython-310\sklearn_extra\robust
creating build\lib.win-amd64-cpython-310\sklearn_extra\tests
copying sklearn_extra\tests\test_common.py -> build\lib.win-amd64-cpython-310\sklearn_extra\tests
copying sklearn_extra\tests_init_.py -> build\lib.win-amd64-cpython-310\sklearn_extra\tests
creating build\lib.win-amd64-cpython-310\sklearn_extra\cluster\tests
copying sklearn_extra\cluster\tests\test_commonnn.py -> build\lib.win-amd64-cpython-310\sklearn_extra\cluster\tests
copying sklearn_extra\cluster\tests\test_k_medoids.py -> build\lib.win-amd64-cpython-310\sklearn_extra\cluster\tests
copying sklearn_extra\cluster\tests_init_.py -> build\lib.win-amd64-cpython-310\sklearn_extra\cluster\tests
creating build\lib.win-amd64-cpython-310\sklearn_extra\kernel_approximation\tests
copying sklearn_extra\kernel_approximation\tests_init_.py -> build\lib.win-amd64-cpython-310\sklearn_extra\kernel_approximation\tests
creating build\lib.win-amd64-cpython-310\sklearn_extra\kernel_methods\tests
copying sklearn_extra\kernel_methods\tests\test_eigenpro.py -> build\lib.win-amd64-cpython-310\sklearn_extra\kernel_methods\tests
copying sklearn_extra\kernel_methods\tests_init_.py -> build\lib.win-amd64-cpython-310\sklearn_extra\kernel_methods\tests
running build_ext
building 'sklearn_extra.utils._cyfht' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-learn-extra
Failed to build scikit-learn-extra
ERROR: Could not build wheels for scikit-learn-extra, which is required to install pyproject.toml-based projects