➜ YouCompleteMe git:(master) ./install.py --clang-completer
Searching Python 3.7 libraries...
ERROR: Python headers are missing in /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/Headers.我用brew安装了python,还没有下载Xcode。
发布于 2021-01-03 14:39:27
在遇到同样的问题后在这里结束。在我的例子中,问题是使用的python版本不正确。因此,即使在执行之后:
brew reinstall python3我得到了错误。
最终解决这个问题的是显式地声明要使用哪个python解释器:
/usr/local/bin/python3.9 install.py --allhttps://stackoverflow.com/questions/62546912
复制相似问题