LoginSignup
0
0

TypeError: 'numpy._DTypeMeta' object is not subscriptable

Posted at

環境

M1 (arm64) / macosx(14.0) / python 3.10 / venv環境

問題

import cv2 を実行時、次のエラーが出た
TypeError: 'numpy._DTypeMeta' object is not subscriptable

解決法

pip uninstall numpy
pip install numpy

で治ります。

(ubuntuとかだったかだったら、https://github.com/cvg/LightGlue/issues/69 らしい)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0