Opencv installed on Mac OS has installed Python 3.6
run the command brew install opencv3
after installation, an error was reported. But there is also a hint in pychar import CV2
Import CV2 runs with an error of “modulenotfoundererror: no module named ‘CV2′”. If the package of CV2 cannot be found, the installation of the expansion package can be executed: PIP3 install Python opencv
PIP3
import cv2 print(cv2.__ version__)
output opencv version number
installation complete
Similar Posts:
- OpenCV Install Error: modulenotfounderror: no module named ‘cv2’
- ImportError: No module named ‘requests’
- [Solved] ImportError: ERROR: recursion is detected during loading of “cv2” binary extensions. Check OpenCV installation.
- modulenotfounderror: no module named ‘cv2’ [How to Solve]
- Module not founderror: no module named ‘paramiko’ in Python 3.7.2
- Python.exe Error: No module named pip.__main__; ‘pip’ is a package and cannot be directly executed
- ModuleNotFoundError No module named urllib2
- ImportError: No module named pil
- Importerror: no module named BS4 error resolution
- jupyter notebook error: No module named ‘tensorflow’