Skip to content

Can't install on Google Colab #502

Description

@ericleonardo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions