I have built a prediction app using lightgbm algorithm and fastapi in my Windows Machine, my app was perfectly 100% running back then. Until, I changed to mac machine and tried to run the app again and got this message:
/Users/bhaskoromuthohar/dev/cm/credit-scoring/.venv/lib/python3.7/site-packages/lightgbm/__init__.py:48: UserWarning: Starting from version 2.2.1, the library file in distribution wheels for macOS is built by the Apple Clang (Xcode_8.3.3) compiler.
This means that in case of installing LightGBM from PyPI via the ``pip install lightgbm`` command, you don't need to install the gcc compiler anymore.
Instead of that, you need to install the OpenMP library, which is required for running LightGBM on the system with the Apple Clang compiler.
You can install the OpenMP library by the following command: ``brew install libomp``.
"You can install the OpenMP library by the following command: ``brew install libomp``.", UserWarning)
I've tried to install libomp using brew and do pip install lightgbm but still I can't run my app perfectly.
P.s: I'm new to mac environment
