Python Forum
Error Installing PySceneDetect and OpenCV - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Error Installing PySceneDetect and OpenCV (/thread-25297.html)



Error Installing PySceneDetect and OpenCV - jpnoli - Mar-26-2020

I'm trying to break up home videos into sub-clips. I found PySceneDetect which seems like an awesome tool (https://pyscenedetect.readthedocs.io/en/latest/). For some reason I'm having a lot of trouble installing it though. The developers list these dependencies: OpenCV, ffmpeg, numpy, Click, tqdm. I imported them using pip3. If I go into a python3 shell and type following: import cv2, it will load fine.
import cv2
From a normal terminal, if I type in
scenedetect --version
, I get the error:
Error:
ImportError: No module named cv2
. How is this possible if I've already installed it? I can load cv2 in both python2 and 3.

Thank you


RE: Error Installing PySceneDetect and OpenCV - buran - Mar-26-2020

can you post the full traceback you get?