Error reporting of OpenCV and Darknet under Python 2.7
Python 2.7 is run by default during the whole ROS. I don’t know how to adjust it, so Yolo can’t run. The following error is reported
Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
The solution is to recompile opencv in the following order
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_GTK=ON -D WITH_OPENGL=ON ..
sudo make install
Read More:
- Opencv453 drawing rectangle function error reporting solution
- Solution to error reporting in opencv4.0 compilation of logo-logo
- [opencv + openvino] opencv-vino4.5.1 + opencv contrib installation
- Installing opencv Python in docker container
- Solution of OpenCV library import error in Python 3
- Anaconda installation opencv Python error solution
- OpenCV3.1 + Python2.7 error “DLL load failed: The specified module could not be found”
- Python installation pysimplegui error reporting solution
- Reading and saving opencv Python video
- Several solutions to HDF5 error reporting in Python environment
- Project files may be invalid appears when cmake compiles opencv3.1, and the debug additional dependency of the compiled opencv3.1 is at the end
- Opencv problem: opencv error: assertion failed (! Empty()) in detectmultiscale
- Importerror: no module named typing error reporting solution (python2 PIP needs to be backed back from 21)
- Opencv perfect configuration strategy 2015 (win7 + opencv 2.4.9 + vs 2013)
- Python opencv (3) get image size
- Extension of image edge by Python opencv
- Error reporting solution: error: python.build.authorize not found
- Installing opencv and Linux Makefile:160 : recipe for target ‘all’ failed problem resolution
- Error reporting – the project directly introduces the error reporting and solution of. SCSS file
- How to solve the problem of error reporting in the introduction of Python Django no module name ‘Django. Utils. Six’