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

问题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
| ^~~~~~~~~
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

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