[Question] Trouble to install `auto-sklearn`?

Author: guilhermeparreiraCreated Jun 15, 2023Updated Aug 14, 2025

How to troubleshoot installation auto-sklearn?

I tried to do pipenv install auto-sklearn on my Linux environment, but I got this (in the end):

bash
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-learn
ERROR: Could not build wheels for scikit-learn, which is required to install pyproject.toml-based projects
[0m
⠇ Installing auto-sklearn...✘ Installation Failed

I installed swig through sudo apt -y install swig and it returned me no error.

In order to address the error, I tried a manual installation of scikit-learn, following these steps, link1, link2, but I always end up on missing wheels.

Any help?/Guidance? *I use WSL to run Ubuntu 22.04.2 LTS on my windows machine. I also have C++ compiler.