northsea4 / mdcx-docker

在Docker容器中运行 MDCX,并通过Web界面或远程桌面进行控制。Run MDCX in a Docker container, accessible and controllable via a web interface or remote desktop.
GNU General Public License v3.0
567 stars 69 forks source link

安装显示PyQt5.QtCore不存在哦 #48

Closed caizix closed 1 day ago

caizix commented 3 weeks ago

是否存在已有问题?

问题描述

[app ] 🚀 启动应用... [app ] Traceback (most recent call last): [app ] File "/app/main.py", line 9, in [app ] from PyQt5.QtCore import QCoreApplication, Qt [app ] ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory [supervisor ] all services started. [supervisor ] service 'app' exited (with status 0). [supervisor ] service 'app' exited, shutting down... [supervisor ] stopping service 'openbox'... [supervisor ] service 'openbox' exited (with status 0). [supervisor ] stopping service 'nginx'... [supervisor ] service 'nginx' exited (with status 0). [supervisor ] stopping service 'xvnc'... [xvnc ] Sun Aug 18 18:56:09 2024 [xvnc ] ComparingUpdateTracker: 0 pixels in / 0 pixels out [xvnc ] ComparingUpdateTracker: (1:-nan ratio) [supervisor ] service 'xvnc' exited (with status 0). [finish ] executing container finish scripts... [finish ] all container finish scripts executed.

预期表现

No response

复现步骤

安装启动启动不起来

环境

- 操作系统:centos7
- Docker服务安装方式:

CPU架构

amd64

使用的镜像

mdcx-builtin-gui-base

Docker创建方式

curl安装

容器日志

[app         ] 🚀 启动应用...
[app         ] Traceback (most recent call last):
[app         ]   File "/app/main.py", line 9, in <module>
[app         ]     from PyQt5.QtCore import QCoreApplication, Qt
[app         ] ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory
[supervisor  ] all services started.
[supervisor  ] service 'app' exited (with status 0).
[supervisor  ] service 'app' exited, shutting down...
[supervisor  ] stopping service 'openbox'...
[supervisor  ] service 'openbox' exited (with status 0).
[supervisor  ] stopping service 'nginx'...
[supervisor  ] service 'nginx' exited (with status 0).
[supervisor  ] stopping service 'xvnc'...
[xvnc        ] Sun Aug 18 18:56:09 2024
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor  ] service 'xvnc' exited (with status 0).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.
northsea4 commented 3 weeks ago

curl安装 指的是下面这个方式?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/northsea4/mdcx-docker/main/install.sh)"

我没有CentOS7环境,刚在 DSM7.1.1 测试以上脚本方式部署,正常运行。

northsea4 commented 1 day ago

Closing for lack of response.