nad*_*nad 7 python docker-compose lightgbm
我在我的 Mac 上安装了 LightGBM,并之前针对不同的项目进行了测试。
现在我在 Mac 上安装了 python 3.6 的 docker 中。一旦我添加import lightgbm as lgbm到 Flask 应用程序中,我就会收到错误
OSError: libgomp.so.1: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
到底是怎么回事?有人可以建议吗?
小智 6
这对我有用,将其包含在你的 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
Run Code Online (Sandbox Code Playgroud)
来源:https ://github.com/microsoft/LightGBM/issues/2223#issuecomment-499788066
| 归档时间: |
|
| 查看次数: |
5994 次 |
| 最近记录: |