搜尋

首頁  >  問答  >  主體

vim - 編譯YouCompleteMe時,遇到fatal error: 'pyconfig.h' file not found

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>
phpcn_u1582phpcn_u15822773 天前787

全部回覆(1)我來回復

  • 黄舟

    黄舟2017-05-16 16:43:49

    你完成我的問題

    回覆
    0
  • 取消回覆