Closed Harrisonyong closed 2 years ago
when I use python3 PPOCRLabel.py to start it, I meet this question as I description. I have checked all the qt libary have been perpared. So, what's the reason caused this bug?
Do you run PPOCRLabel on Linux? What version of qt have you installed?
@Evezerest @Harrisonyong Hi, I have the same problem, So how do we solve this?Please help me
@Evezerest my qt version is qt5, I used pip install PyQt5
Just resolved it. Install opencv in the same env where you installed paddle paddle. use "pip install opencv-python==4.2.0.32". Doing this resolved for me
I have solved this problem, reduce the opencv-python version : pip3 install --upgrade opencv-python==4.2.0.32
Since you haven\'t replied for more than 3 months, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. It is recommended to pull and try the latest code first. 由于您超过三个月未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开(建议先拉取最新代码进行尝试),我们会继续跟进。
Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/bin/platforms" ... loaded library "/usr/local/lib/python3.7/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so" qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
C++ Traceback (most recent call last):
0 paddle::framework::SignalHandle(char const*, int) 1 paddle::platform::GetCurrentTraceBackString[abi:cxx11]()
Error Message Summary:
FatalError:
Process abort signal
is detected by the operating system. [TimeInfo: Aborted at 1625825525 (unix time) try "date -d @1625825525" if you are using GNU date ] [SignalInfo: SIGABRT (@0x1d) received by PID 29 (TID 0x7f60723c8080) from PID 29 ]