You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QObject::moveToThread: Current thread (0xca9110) is not the object's thread (0x1256140).
Cannot move to target thread (0xca9110)
The problem comes with the installation of opencv-python, that is required by paz and defined in setup.py. Current solution is to uninstall opencv-python, build and install the latest version of opencv manually.
Here is small shell script to download and install the latest version of opencv (4.2.0)
mkdir opencv
cd opencv
wget https://github.com/opencv/opencv/archive/4.2.0.zip
unzip 4.2.0.zip
cd opencv-4.2.0
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j8
sudo make install
cd ../../../
rm -rf opencv/
Hi Anna,
thank you for script. It would be helpful for anybody having this issue.
As of now I would like to leave the requirements as they are since I don't know for sure how many people are affected by this bug, and I feel it's better to have most people having "easy installation" with pip than all of the people having to build openCV.
The call
cv2.namedWindow
causes an issue:The problem comes with the installation of opencv-python, that is required by
paz
and defined insetup.py
. Current solution is to uninstall opencv-python, build and install the latest version of opencv manually.The same problem was described in opencv-python github
The text was updated successfully, but these errors were encountered: