import Colab Python Error: subprocess-exited-with-error

35 Views Asked by At

When I try to install Colab (via. pip), I get the following error:

`(.venv) PS F:\PythonProject\Übeersetzung_KI> pip install colab
Collecting colab
  Using cached colab-1.13.5.tar.gz (567 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in colab setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
          pytz>=2011n
              ~~~~~~^
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.`

I tried to reinstall Jupyter and Pycharm, but the error persists.

EDIT: I fixed the problem by install "Desktop development with C++" workload in Visual Studio.

0

There are 0 best solutions below