[英]install python3.8 but not found include folders
I am trying to fix a issue of YouCompleteMe when run install.py in linux.在 linux 中运行 install.py 时,我正在尝试解决 YouCompleteMe 的问题。
It says ERROR: Python headers are missing in /usr/include/python3.8 So I try to install python3.8 with:它说 ERROR: Python headers are missing in /usr/include/python3.8 所以我尝试安装 python3.8:
sudo apt install python3.8
Command is success but that include folder still not there, I can only see 2.7 and 3.5 folders:命令成功但包含文件夹仍然不存在,我只能看到 2.7 和 3.5 文件夹:
python2.7/ python3.5/ python3.5m/
What's the reasone 3.5 folders is there but 3.8 folders not?存在 3.5 文件夹但没有 3.8 文件夹的原因是什么?
Try specifying version.尝试指定版本。
$ sudo apt-get install python3.8-dev $ sudo apt-get install python3.8-dev
Above line helped me to get include folder for python version 3.8上面的行帮助我获得了 python 3.8 版的包含文件夹
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.