PySceneDetector为基本函数引发异常

2024-06-23 02:58:03 发布

您现在位置:Python中文网/ 问答频道 /正文

这是我最初的问题,浓缩成了最简单的问题:

我用Python 3和pip创建了一个Debian Google云计算实例。然后我安装了PySceneDetect,其依赖项如下:

pip3 install scenedetect[opencv,progress_bar]

然后,通过将scenedetect目录添加到/etc/profile

现在,当我从终端运行scenedetect时,出现以下错误:

scenedetect.video_manager.VideoOpenFailure: OpenCV VideoCapture object failed to return True when calling isOpened( ).

然后,在处理第一个时,这个:

TypeError: cannot unpack non-iterable bool object

以下是完整错误的屏幕截图: enter image description here

任何帮助都将不胜感激。这件事我已经坚持了好几天了


Tags: installpip实例目录object错误googlepip3

热门问题