how to

typeerror-numpy dtypemeta-object-is-not-subscriptable-when-import-cv2

Jan 15, 2024
langspythonopencv
1 Minutes
18 Words
1
TypeError: 'numpy._DTypeMeta' object is not subscriptable

Your opencv version is too new.

Install pip install opencv-python=4.5.1.38 solve this on numpy==1.21.5.

Article title:typeerror-numpy dtypemeta-object-is-not-subscriptable-when-import-cv2
Article author:Julyfun
Release time:Jan 15, 2024
Copyright 2025
Sitemap