openml / automlbenchmark

OpenML AutoML Benchmarking Framework
https://openml.github.io/automlbenchmark
MIT License
399 stars 132 forks source link

Old dependencies problematic for M1 mac #477

Open PGijsbers opened 2 years ago

PGijsbers commented 2 years ago

The fixed dependencies are old and several of them have problems being installed on my system. I can circumvent this by manually changing the specified versions (at least it seems to work), but we probably ought to look into a version bump soon. This probably leads to raising the minimum Python version as well, though that might lead to issues with framework installations.

I'm also interested if someone has experience installing the tool on an M1 system with the old dependencies in place.

PGijsbers commented 1 year ago

For those experiencing the issues, use pip-tools to generate a new requirements file: pip-compile -o my_requirements.txt

You might run into an issue with PyTables, which requires hdf5 to be installed. Install it with brew and set the HDF5_DIR environment variable export HDF5_DIR=/opt/homebrew/opt/hdf5, which should allow you to recompile the requirements file and install. You then also need to downgrade numpy to numpy<1.24 since 1.24 removes np.float which is currently used in our codebase.