[CV2] 画像認識の`import cv2` でエラー
https://teratail.com/questions/15571002.11.2018 · やったこと (しかしうまくいかず) $ conda install -c menpo opencv3 →その後import cv2のセルを実行するもModuleNotFoundError: No module named 'cv2'と出る。 $ pip install -U opencv-python →その後import cv2のセルを実行するとModuleNotFoundError: No module named 'cv2.cv2'と出る。. いずれのコマンドもAnaconda Promptから、ipynbのある ...
opencv-python · PyPI
https://pypi.org/project/opencv-python20.10.2021 · cv2 (old interface in old OpenCV versions was named as cv) is the name that OpenCV developers chose when they created the binding generators. This is kept as the import name to be consistent with different kind of tutorials around the internet.