ImportError:libGL.so.1 - Linux上的PyQt5(AWS Elastic Beanstalk)

时间:2018-05-27 01:32:49

标签: python python-3.x elastic-beanstalk pyqt5 qwebenginepage

我有一个文件scraper.py导入QWebEnginePage

当我使用eb deploy在aws上部署它时,它无法启动应用程序并退出并出现以下错误:

Traceback (most recent call last):
  File "/opt/python/current/app/application.py", line 6, in <module>
    from menu import kult_menuholder
  File "/opt/python/current/app/menu/kult_menuholder.py", line 2, in <module>
    import scraper
  File "/opt/python/current/app/scraper.py", line 82, in <module>
    from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
mod_wsgi (pid=5845): Target WSGI script '/opt/python/current/app/application.py' cannot be loaded as Python module.
mod_wsgi (pid=5845): Exception occurred processing WSGI script '/opt/python/current/app/application.py

PyQt5由pip安装。

我无法在Windows机器上本地重现。 帮助或任何建议将不胜感激。

0 个答案:

没有答案