编译命令
[root@bogon YouCompleteMe]# ./install.py --clang-completer
Searching Python 3.8 libraries...
Found Python library: /opt/python385/lib/libpython3.8.so
Found Python headers folder: /opt/python385/include/python3.8
问题
CMake Error at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Python3 (missing: Development) (found suitable version
"3.8.5", minimum required is "3.6...3.10")
Call Stack (most recent call first):
/usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake3/Modules/FindPython/Support.cmake:2437 (find_package_handle_standard_args)
/usr/share/cmake3/Modules/FindPython3.cmake:309 (include)
CMakeLists.txt:223 (find_package)
解决
卸载 yum 安装的cmake3
yum remove cmake
网友评论