[YCM] Python.h: No such file or directory

Error

“fatal error” when compiling YCM:
fatal error: Python.h: No such file or directory

Solution

如果使用 Python3.5:
sudo apt-get install python3.5-dev
如果使用 Python2.7:
sudo apt-get install python-dev

猜你喜欢

转载自blog.csdn.net/benzp/article/details/80683620