通过PIP安装GRPCIO:“旧版安装 - 输出”

发布于 2025-01-28 21:08:13 字数 335 浏览 1 评论 0原文

我想使用PIP安装GRPCIO(版本1.35)。 但是我遇到了这个错误:

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

I want to install grpcio with pip(version 1.35).
But I get this error:

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

I tried to install python-dev or wheel, but it did not work.

My python version = 3.10

Ubuntu = 22.04

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

扶醉桌前 2025-02-04 21:08:13

我也有同样的问题。增加grcpio的版本对我有帮助。版本1.46.3安装没有任何问题

I had the same issue. Increase the version of grcpio helps me. Version 1.46.3 installed without any problem

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文