找不到OpenCL(缺少:OpenCL_LIBRARY)(找到版本“ 1.1”)

时间:2018-09-15 13:36:15

标签: gpu lightgbm

我的环境: 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)

我该怎么办?

0 个答案:

没有答案