-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Failed building wheel for scikit-learn-extra #164
Comments
This is probably because we haven't released in a long while and the binaries for python3.10 and 3.11 don't exist. @rth @TimotheeMathieu what's the release process here? |
Yes sorry, the release was almost done (the binaries are artifacts of PR #156 ). I was busy at work and forgot the last step of uploading to pypi. |
I did the upload. We have binaries for python 3.6 to python 3.9. Not yet for python 3.10. @0xb39 could you retry |
The OP's environment is py=3.10, so it would still fail. We should add 3.10 and 3.11 here, any blockers for that? |
I will try to build it. |
Thanks for managing it @TimotheeMathieu ! |
After some work (cibuildwheel is not easy to debug) I managed to have python 3.10 and 3.11 for 64bit. I uploaded them on pypi. Now, could you can try to install @0xb39 ? |
o7 |
@TimotheeMathieu it would be nice to streamline that and have maybe a github action which would upload to testpypi or pypi automatically, for all versions. |
用python3.6构建轮子好像不行 |
I just ran into this error. I'm using python 3.12, so that might be why. |
i ran into the same error, how to solve this |
For now you can try the method I suggest in issue #177, it is not ideal but at least on my computer it installs for python 3.12 |
Hi, I have followed above methods or even created new env of python 3.12 but it didn't work for me , with the ERROR: Failed to build installable wheels for some pyproject.toml based projects (scikit-learn-extra), i have no cue how to solve... |
Same here, and I am on windows. |
Hi @aaaimee000, could you try the methods suggested in #177 ? In particular, try to download the wheel from the artifact in the action (https://github.com/scikit-learn-contrib/scikit-learn-extra/actions/runs/11686011469) and install directly from the wheel to see if it solves the problem. |
I am using M-chips macbook and use create new env. with x64. CONDA_SUBDIR=osx-64 conda create -n (ENV. NAME) python It works for me, hope that help |
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
The text was updated successfully, but these errors were encountered: