安裝完成出現下錯誤訊息
網路搜尋試了好多方式還是一樣
有人有解決的方法嗎
求解,謝謝
Traceback (most recent call last):
File "", line 1, in
File "/opt/anaconda3/lib/python3.8/site-packages/lightgbm/init.py", line 8, in
from .basic import Booster, Dataset, Sequence, register_logger
File "/opt/anaconda3/lib/python3.8/site-packages/lightgbm/basic.py", line 110, in
_LIB = _load_lib()
File "/opt/anaconda3/lib/python3.8/site-packages/lightgbm/basic.py", line 101, in _load_lib
lib = ctypes.cdll.LoadLibrary(lib_path[0])
File "/opt/anaconda3/lib/python3.8/ctypes/init.py", line 459, in LoadLibrary
return self._dlltype(name)
File "/opt/anaconda3/lib/python3.8/ctypes/init.py", line 381, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/opt/anaconda3/lib/python3.8/site-packages/lightgbm/lib_lightgbm.so, 6): no suitable image found. Did find:
/opt/anaconda3/lib/python3.8/site-packages/lightgbm/lib_lightgbm.so: mach-o, but wrong architecture
/opt/anaconda3/lib/python3.8/site-packages/lightgbm/lib_lightgbm.so: mach-o, but wrong architecture