mac python安装grpcio以及xcode升级权限问题记录

2023-12-14 16:51:19

问题1:

ERROR: Could not build wheels fol grpcio, which is required to install pyproject.toml-based projects

pip3 install --no-cache-dir --force-reinstall -Iv grpcio==1.41.0 # (我这里是降级安装的)

问题2:

fatal error: ‘stdio.h’ file not found
25 | #include <stdio.h>
| ^~~~~~~~~
1 error generated.
error: command ‘/usr/local/opt/llvm/bin/clang’ failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for TTS
Failed to build TTS

mac上安装TTS的时候,提示诸多类似问题2的,解决方案就是吧xcode升级 🙂

问题3:

在这里插入图片描述

xcede 权限问题:

sudo xcodebuild -license

文章来源:https://blog.csdn.net/weixin_41804512/article/details/134995382
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。