Tips in case of "Cannot move to target thread" error #30
Copy link
Copy link
Open
Description
Hi Adam, John,
You remember I could not get rompar working last week at hardwear.io?
Actually it was not a problem within rompar but because of opencv.
In case rompar fails starting with an error such as
QObject::moveToThread: Current thread (0x2956650) is not the object's thread (0x2bd9990).
Cannot move to target thread (0x2956650)
https://stackoverflow.com/a/63839383 indicates it results from the duplication of libraries both on the host and the opencv-python distro.
To solve it, one can recompile opencv-python:
pip install --no-binary opencv-python opencv-python
Beware it takes quite a while, but it solves the problem :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity