I have LightGBM installed in my mac and tested earlier for a different project.
Now I am inside a docker with python 3.6 on my mac. As soon as I add import lightgbm as lgbm in my Flask application, I get error
OSError: libgomp.so.1: cannot open shared object file: No such file or directory
What is going on? Can anyone please suggest?
This worked for me, include it in your dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils
RUN apt-get -y install curl
RUN apt-get install libgomp1
Source: https://github.com/microsoft/LightGBM/issues/2223#issuecomment-499788066
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With