-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
To reproduce
❯ pip install cyfi
❯ cyfi predict --help
Traceback (most recent call last):
File "/Users/emily/opt/anaconda3/envs/cyfi/bin/cyfi", line 5, in <module>
from cyfi.cli import app
File "/Users/emily/opt/anaconda3/envs/cyfi/lib/python3.10/site-packages/cyfi/cli.py", line 12, in <module>
from cyfi.pipeline import CyFiPipeline
File "/Users/emily/opt/anaconda3/envs/cyfi/lib/python3.10/site-packages/cyfi/pipeline.py", line 7, in <module>
import lightgbm as lgb
File "/Users/emily/opt/anaconda3/envs/cyfi/lib/python3.10/site-packages/lightgbm/__init__.py", line 8, in <module>
from .basic import Booster, Dataset, Sequence, register_logger
File "/Users/emily/opt/anaconda3/envs/cyfi/lib/python3.10/site-packages/lightgbm/basic.py", line 226, in <module>
_LIB = _load_lib()
File "/Users/emily/opt/anaconda3/envs/cyfi/lib/python3.10/site-packages/lightgbm/basic.py", line 211, in _load_lib
lib = ctypes.cdll.LoadLibrary(lib_path[0])
File "/Users/emily/opt/anaconda3/envs/cyfi/lib/python3.10/ctypes/__init__.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/Users/emily/opt/anaconda3/envs/cyfi/lib/python3.10/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/emily/opt/anaconda3/envs/cyfi/lib/python3.10/site-packages/lightgbm/lib/lib_lightgbm.so, 0x0006): Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib
Referenced from: /Users/emily/opt/anaconda3/envs/cyfi/lib/python3.10/site-packages/lightgbm/lib/lib_lightgbm.so
Reason: tried: '/usr/local/opt/libomp/lib/libomp.dylib' (no such file), '/usr/local/lib/libomp.dylib' (no such file), '/usr/lib/libomp.dylib' (no such file)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working