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

问题

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

你可能感兴趣的:(python,pip)