You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用pip安装colab时遭遇subprocess-exited-with-error错误

问题:pip安装colab时出现依赖版本解析错误

执行pip install colab时触发以下错误:

(.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.

已尝试的无效操作

  • 重新安装Jupyter
  • 重新安装Pycharm

解决办法

安装Visual Studio中的「Desktop development with C++」工作负载后,问题得到解决。

内容的提问来源于stack exchange,提问作者zGamerZz

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.27 08:12:03