๐Ÿง  AI/๐Ÿ‘“ Computer Vision

TypeError: 'numpy._DTypeMeta' object is not subscriptable ์˜ค๋ฅ˜

์˜ค๋ธŒ ๐Ÿง™‍โ™‚๏ธ 2023. 11. 25. 21:02

https://stackoverflow.com/questions/76879942/how-to-prevent-error-message-when-importing-import-cv2

 

How to prevent error message when importing import cv2?

what does this error mean? I have opencv installed using pip install opencv-python. I’m using Python 3 and am in Jupyter Notebook. import cv2 TypeError: 'numpy._DTypeMeta' object is not subscripta...

stackoverflow.com

๊ณ„์† TypeError: 'numpy._DTypeMeta' object is not subscriptable ์˜ค๋ฅ˜๊ฐ€ ๋– ์„œ ์ฐพ์•„๋ดค๋Š”๋ฐ ๋„˜ํŒŒ์ด ๋ฒ„์ „์ด ์•ˆ ๋งž์•„์„œ ๊ทธ๋Ÿฐ ๋“ฏ? 

pip install opencv-python==4.8.0.74

 

ํ•ด์ฃผ๋‹ˆ ๋ง๋”ํžˆ ํ•ด๊ฒฐ~