【Python】ERROR: Failed to build installable wheels for some pyproject.toml based projects

 zhangy  2025-04-11 20:22:06  143  6  0

问题

ERROR: Failed to build installable wheels for some pyproject.toml based projects (grpcio, grpcio-tools, pyworld)

原因与解决方法

1.没有安装 Microsoft Visual C++ Build Tools

直接去微软官网下载。

2.Python 版本过高

例如 grpcio 一般需要 python 3.10.x,结果你用了 python 3.11 或 3.12


作者禁止了评论
评论内容