Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我添加了模块 cv2。但我无法导入它。
import cv2 #name 'cv2' is not defined
对不起这个简单的问题。我是新手,找不到答案
我通过 help("modules") 检查时的模块
也许你的包没有正确安装试试这个:
pip uninstall cv2 pip uninstall cv2
在你的命令行中