我在我的 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
到底是怎么回事?有人可以建议吗?
这对我有用,将其包含在你的 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
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)