-
Notifications
You must be signed in to change notification settings - Fork 6.2k
RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class #268
Comments
Hi, |
Closing this because there's already an open issue for this problem: #212 And it appears you've already found a solution... #212 (comment) |
Hi,
I'm using Python 2.7 in Ubuntu 16.4
Rubens
2018-05-26 18:23 GMT-03:00 vdalv <notifications@github.com>:
… What OS are you using, and what version of Python?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#268 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOXvQ2B1eFngc1B_u98_M5u3OEFnWXs5ks5t2ce9gaJpZM4TCuFi>
.
|
meet the same problem. |
when I uninstall pyqt4 and use pyqt5 instead, Traceback (most recent call last): |
@osxn Run this command: |
I faced the same issue (I'm using pyqt5). Basically it seems that in qt5 there's no class called string. I used the following workaround in libs/ustr.py and it worked fine:
This way, when using qt5 you switch to python string instead of QString. |
Add section for training on our own dataset resolves #203
Try to install qt5, run make and finally start application with python3:
|
I use the code from rkachach ,but error still unsolved.Then I realize maybe it's not an improrerror,so after remove the importerror ,it works. |
File "/home/yishen/labelImg-master/resources.py", line 9, in
from PyQt4 import QtCore
RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class
I don't install pyqt5
The text was updated successfully, but these errors were encountered: