我无法访问我的Heroku应用,因为出现以下错误:
2020-09-11T10:25:09.492648+00:00 app[web.1]: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
我已经尝试过的是:
- 在Aptfile中添加以下内容:
- libsm6
- libxrender1
- libfontconfig1
- libice6
- 添加 buildpack https://github.com/heroku/heroku-buildpack-apt
- 在 requirements 中使用 opencv-python-headless
但都没有起作用。
有人知道问题出在哪里吗?