【问题标题】:Install grpcio via pip: "legacy-install-failure"通过 pip 安装 grpcio:“legacy-install-failure”
【发布时间】:2022-06-13 09:16:28
【问题描述】:

我想用 pip(1.35 版)安装 grpcio。 但我得到这个错误:

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

× Encountered error while trying to install package.
╰─> grpcio

我尝试安装 python-dev 或 wheel,但没有成功。

我的 python 版本 = 3.10

Ubuntu = 22.04

【问题讨论】:

  • 您可以尝试更新您的点子吗?例如。 python -m pip -U pip

标签: python django pip grpcio


【解决方案1】:

我遇到了同样的问题。增加 grcpio 的版本对我有帮助。 1.46.3版安装没问题

【讨论】:

    猜你喜欢
    • 2019-10-14
    • 2019-03-25
    • 2021-03-21
    • 1970-01-01
    • 2022-07-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多