vim - 编译YouCompleteMe时,遇到fatal error: ’pyconfig.h’ file not found

浏览:40日期:2023-07-27

问题描述

MacVim是用Homebrew下载编译的,版本是7.4,有Vundle下载YouCompleteMe,执行./install.sh时遇到fatal error: ’pyconfig.h’ file not found详细报错如下:

In file included from /Users/findingsea/.vim/bundle/YouCompleteMe/cpp/BoostParts/libs/python/src/errors.cpp:10:In file included from /Users/findingsea/.vim/bundle/YouCompleteMe/cpp/BoostParts/boost/python/errors.hpp:12:In file included from /Users/findingsea/.vim/bundle/YouCompleteMe/cpp/BoostParts/boost/python/detail/prefix.hpp:13:/Users/findingsea/.vim/bundle/YouCompleteMe/cpp/BoostParts/boost/python/detail/wrap_python.hpp:50:11: fatal error: ’pyconfig.h’ file not found# include <pyconfig.h>

问题解答

回答1:

YouCompleteMe Issue

相关文章: