The reason lies in the CV of ROS_ Bridge only supports python2. If you want to use python3, you need to compile CV by yourself_ Bridge bag. My environment: Ubuntu 18.04 + ROS + Python 3.6 (anaconda3 is installed, but Python 3.6 is used)
refer to the first answer in the link for specific steps (like more answers):
Read More:
- Importerror: the perfect solution of no module named CV2!!! (not too good)
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- AttributeError: module ‘cv2.cv2‘ has no attribute ‘face‘
- After tensorflow installation, an error occurred while importing: importerror: DLL load failed: the specified module could not be found
- cv2 error – function not implemented [How to Solve]
- Python’s importerror: DLL load failed: the specified module was not found and the problem was solved
- Opencv does not define identifier cv_ CAP_ PROP_ FRAME_ COUNT
- Finally solved the importError: DLLload failed: the specified module could not be found when import matplotlib.pyplot
- ImportError: DLL load failed: The specified module could not be found
- ImportError: Importing the multiarray numpy extension module failed.
- ImportError: No module named indexes.base
- Sdl2 – importerror: DLL load failed: the specified module was not found.
- Python:ImportError: No module named indexes.base
- Vue — report error with less module build failed: typeerror: loaderContext.getResolve is not a function
- Module not found: Error: Can’t resolve ‘./$$_gendir/app/app.module.ngfactory’
- Importerror of Django error: no module named**
- Python error: importerror: DLL load failed: unable to find the specified module solution
- When VS code imported Cv2, an error ImportError: numpy.core.multiarray failed to import; There are no mistakes in using the Spyder
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- Unable to call numpy in pychar, module notfounderror: no module named ‘numpy’