我的环境: Fedora 28服务器 python 3.6 64位
当我通过pip install lightgbm --install-option=--gpu
安装lightgbm-gpu时
发生一些错误:
CMake Error at /usr/local/lib64/python3.6/site-packages/cmake/data/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenCL (missing: OpenCL_LIBRARY) (found version "1.1")
Call Stack (most recent call first):
/usr/local/lib64/python3.6/site-packages/cmake/data/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/local/lib64/python3.6/site-packages/cmake/data/share/cmake-3.12/Modules/FindOpenCL.cmake:138 (find_package_handle_standard_args)
CMakeLists.txt:80 (find_package)
我该怎么办?