Python Forum

Full Version: Error Installing PySceneDetect and OpenCV
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
can you post the full traceback you get?