OSError,image not found appears in lightGBM reference

A rookie. After installing lightGBM with pip, there is a problem with the reference (the system is High Sierra)

In [3]: import lightgbm
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-3-b18b3f8a6dc8> in <module>()
----> 1 import lightgbm

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/lightgbm/__init__.py in <module>()
      6 from __future__ import absolute_import
      7
----> 8 from .basic import Booster, Dataset
      9 from .callback import (early_stopping, print_evaluation, record_evaluation,
     10                        reset_parameter)

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/lightgbm/basic.py in <module>()
     31
     32
---> 33 _LIB = _load_lib()
     34
     35

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/lightgbm/basic.py in _load_lib()
     26     if len(lib_path) == 0:
     27         return None
---> 28     lib = ctypes.cdll.LoadLibrary(lib_path[0])
     29     lib.LGBM_GetLastError.restype = ctypes.c_char_p
     30     return lib

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ctypes/__init__.py in LoadLibrary(self, name)
    424
    425     def LoadLibrary(self, name):
--> 426         return self._dlltype(name)
    427
    428 cdll = LibraryLoader(CDLL)

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
    346
    347         if handle is None:
--> 348             self._handle = _dlopen(self._name, mode)
    349         else:
    350             self._handle = handle

OSError: dlopen(/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/lightgbm/lib_lightgbm.so, 6): Library not loaded: /usr/local/opt/gcc/lib/gcc/8/libgomp.1.dylib
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/lightgbm/lib_lightgbm.so
  Reason: image not found

reinstallation will not solve the problem, and then try another installation method, but cmake installation failed. For more information, please see
https://stackoverflow.com/que.
. To put it simply, the function of Homebrew can hardly be used, and there is always a permission problem. Also ask the gods to give advice, even if there is no specific plan can also be a simple analysis of the reasons, every bit of your knowledge can give me a lot of help, I hope you do not hesitate to give advice!

Mar.28,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45f9c-43ed0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45f9c-43ed0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?