503| 1
|
视觉识别cv2报错,有没有能解决的大神 |
Traceback (most recent call last): File "/root/3-ncnn_new/5-ncnn_new/2-shufflenetv2.py", line 20, in <module> import cv2 File "/usr/local/lib/python3.7/dist-packages/cv2/__init__.py", line 181, in <module> bootstrap() File "/usr/local/lib/python3.7/dist-packages/cv2/__init__.py", line 175, in bootstrap if __load_extra_py_code_for_module("cv2", submodule, DEBUG): File "/usr/local/lib/python3.7/dist-packages/cv2/__init__.py", line 28, in __load_extra_py_code_for_module py_module = importlib.import_module(module_name) File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.7/dist-packages/cv2/gapi/__init__.py", line 323, in <module> cv.gapi.wip.GStreamerPipeline = cv.gapi_wip_gst_GStreamerPipelineAttributeError: module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline'root@unihiker:~/3-ncnn_new/5-ncnn_new# 运行行空板视觉识别模块,总是出现cv2缺少的库,但是又安装不上,求助。 |
© 2013-2025 Comsenz Inc. Powered by Discuz! X3.4 Licensed