libGL.so.1:无法打开共享对象文件:没有这样的文件或目录

时间:2020-12-28 19:14:04

标签: python heroku streamlit

我在 heroku 中运行应用程序时遇到问题。出现以下错误消息: libGL.so.1:无法打开共享对象文件:没有那个文件或目录。

我创建了一个名为 Aptfile 的文件并在其中写入了 libgl1 但它不起作用。

您可以在我的 git hub 存储库中找到完整代码:https://github.com/Jose-Villamor/Image-style-tranfer

Error message that appears when I run the app in heroku

1 个答案:

答案 0 :(得分:1)

在github上新建一个文本文件,命名

<块引用>

packages.txt

并将其添加到

reeglut3-dev
libgtk2.0-dev