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

Error while installing autogluon-tabular[skex] #609

Open
liam-sbhoo opened this issue Mar 5, 2024 · 4 comments
Open

Error while installing autogluon-tabular[skex] #609

liam-sbhoo opened this issue Mar 5, 2024 · 4 comments
Labels
bug Something isn't working external For issues which will be fixed by an external party framework For issues with frameworks in the current benchmark

Comments

@liam-sbhoo
Copy link

liam-sbhoo commented Mar 5, 2024

Context:
I'm pretty new to automl-benchmark, so I was just trying to run some simple benchmarks according to the documentation. Along this line, I tried running python runbenchmark.py autogluon and I get the following error - the environment seems to fail in installing autogluon-tabular[skex].

Error:

ERROR: Cannot install autogluon-tabular[skex]==0.7.0, autogluon-tabular[skex]==0.8.0, autogluon-tabular[skex]==0.8.1, autogluon-tabular[skex]==0.8.2, autogluon-tabular[skex]==1.0.0 and autogluon-tabular[skex]==1.0.1b20240305 because these package versions have conflicting dependencies.

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
The conflict is caused by:

    autogluon-tabular[skex] 1.0.1b20240305 depends on scikit-learn-intelex<2024.1 and >=2023.0; extra == "skex"
    autogluon-tabular[skex] 1.0.0 depends on scikit-learn-intelex<2024.1 and >=2023.0; extra == "skex"
    autogluon-tabular[skex] 1.0.1b20240305 depends on scikit-learn-intelex<2024.1 and >=2023.0; extra == "skex"
    autogluon-tabular[skex] 0.8.2 depends on scikit-learn-intelex<2023.2 and >=2021.7; extra == "skex"
    autogluon-tabular[skex] 1.0.1b20240305 depends on scikit-learn-intelex<2024.1 and >=2023.0; extra == "skex"
    autogluon-tabular[skex] 0.8.1 depends on scikit-learn-intelex<2023.2 and >=2021.7; extra == "skex"
    autogluon-tabular[skex] 1.0.1b20240305 depends on scikit-learn-intelex<2024.1 and >=2023.0; extra == "skex"
    autogluon-tabular[skex] 0.8.0 depends on scikit-learn-intelex<2023.2 and >=2021.7; extra == "skex"
    autogluon-tabular[skex] 1.0.1b20240305 depends on scikit-learn-intelex<2024.1 and >=2023.0; extra == "skex"
    autogluon-tabular[skex] 0.7.0 depends on scikit-learn-intelex<2023.1 and >=2021.7; extra == "skex"

To reproduce:

conda create -n benchmark python=3.10
conda activate benchmark
pip install -r requirements.txt
python runbenchmark.py autogluon

System info:

  • M1 Macbook
  • OS: Sonoma 14.2.1
  • Python = 3.10

Any guidance and help would be appreciated, thanks!!

@PGijsbers
Copy link
Collaborator

Is it possible for you to install autogluon independently of the benchmark? Based on the error message it looks like the conflicts are in the dependency graph of autogluon itself.

@liam-sbhoo
Copy link
Author

liam-sbhoo commented Mar 5, 2024

I tried the following with a fresh conda env. And here goes the result too.

pip install --no-cache-dir autogluon                   # this succeeded
pip install --no-cache-dir 'autogluon.tabular[skex]'   # this failed with the aforementioned error

It is something to do with autogluon dependencies then?

@PGijsbers PGijsbers added bug Something isn't working framework For issues with frameworks in the current benchmark labels Mar 6, 2024
@PGijsbers
Copy link
Collaborator

Yes, this seems like an autogluon problem, not an AutoML benchmark one. I suggest opening an issue there.

@PGijsbers PGijsbers added the external For issues which will be fixed by an external party label Mar 6, 2024
@PGijsbers
Copy link
Collaborator

PGijsbers commented Jun 17, 2024

For everyone else (and future documentation): It's an Apple Silicon issue.
Reference: autogluon/autogluon#3965

It looks like the script would need to be updated to install through conda for apple silicon. Or maybe without installing skex? We don't officially support MacOS, so we don't really need to change anything per se.

@Innixma what do you think is most sensible here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external For issues which will be fixed by an external party framework For issues with frameworks in the current benchmark
Projects
None yet
Development

No branches or pull requests

2 participants