Can't install on Google Colab
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 300
- PR merge metrics
- No merged PRs in 30d
Description
Please, how can Auto-PyTorch be installed on Google Colab?
I tought it was related to Swig and already tried installing (`!pip install swig==3.0.12`)
But error keeps the same when trying to install Auto-PyTorch:
`!pip install autopytorch --verbose`
(...)
```
File "/tmp/pip-install-s9zzj7zb/scikit-learn_f1999172b8064fe2976e8b3e4e0cc343/sklearn/_build_utils/__init__.py", line 70, in cythonize_extensions
config.ext_modules = cythonize(
File "/tmp/pip-build-env-swfwaxz_/overlay/local/lib/python3.10/dist-packages/Cython/Build/Dependencies.py", line 1125, in cythonize
result.get(99999) # seconds
File "/usr/lib/python3.10/multiprocessing/pool.py", line 774, in get
raise self._value
Cython.Compiler.Errors.CompileError: sklearn/ensemble/_hist_gradient_boosting/splitting.pyx
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/bin/python3 /usr/local/lib/python3.10/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpoinhxvvk
cwd: /tmp/pip-install-s9zzj7zb/scikit-learn_f1999172b8064fe2976e8b3e4e0cc343
Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce `pip install autopytorch --verbose` in Google Colab and inspect the scikit-learn build failure involving Cython and `sklearn/ensemble/_hist_gradient_boosting/splitting.pyx`. Done means establishing a verified installation path or documenting that the current package dependencies cannot install in the reported Colab environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch, scikit-learn
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100