Skip to content
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

Unable to install autosklearn in kaggle #1725

Open
Leo-Sharm opened this issue Mar 15, 2024 · 3 comments
Open

Unable to install autosklearn in kaggle #1725

Leo-Sharm opened this issue Mar 15, 2024 · 3 comments

Comments

@Leo-Sharm
Copy link

Describe the bug

I am trying to use Autosklearn in my Kaggle Notebook, but facing error, I tried using sklearn==1.0.1 and as well as 0.24 , both showed the same error.
I also tried setuptools < 60.0 still has the same issue

To Reproduce

Steps to reproduce the behavior:
!pip install scikit-learn==0.24
import sklearn as t
t.version
!pip install cython
!pip install auto-sklearn

Expected behavior

Building wheel for scikit-learn (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for scikit-learn (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [1393 lines of output]
:17: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Partial import of sklearn during the build process.
:116: DeprecationWarning:

    `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
    of the deprecation of `distutils` itself. It will be removed for
    Python >= 3.12. For older Python versions it will remain present.
    It is recommended to use `setuptools < 60.0` for those Python versions.
    For more details, see:
      https://numpy.org/devdocs/reference/distutils_status_migration.html
@Leo-Sharm Leo-Sharm changed the title [Question] My Question? Unable to install autosklearn in kaggle Mar 15, 2024
@andreaschandra
Copy link

any update on this?

@JacksonBurns
Copy link

What version of Python is this? The latest version of Python in which I have been able to install auto-sklearn is 3.9

@ImadSaddik
Copy link

Hi @Leo-Sharm and @andreaschandra. I managed to solve the issue!

I created a new Conda environment with Python 3.7 and ran:

pip install auto-sklearn

At the end, I got a message saying Successfully built auto-sklearn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants