我已按照这里的方式在Linux上安装了lightGBM。
我能够成功地使用CLI运行GPU训练(和CPU):
https://github.com/Microsoft/LightGBM/blob/master/docs/GPU-Tutorial.md#run-your-first-learning-task-on-gpu但是,当我尝试导入Python包(Python 3.6),我收到以下错误:
OSError: /home/anaconda3/lib/python3.6/site-packages/lightgbm-0.2-py3.6.egg/lightgbm/lib_lightgbm.so: symbol clCreateCommandQueueWithProperties, version OPENCL_2.0 not defined in file libOpenCL.so.1 with link time reference
我对链接和其他可能引起问题的事情还不是很了解。有人能提供一些易于理解的建议吗?