Python Forum
Error Installing PySceneDetect and OpenCV
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error Installing PySceneDetect and OpenCV
#1
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
Reply
#2
can you post the full traceback you get?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ERROR WHILE INSTALLING PLAYSOUND MODULE satwants33 2 1,036 Mar-23-2024, 12:50 PM
Last Post: Ritik2508
  Screen capture opencv - grab error Kalman15 1 1,557 Jan-27-2022, 12:22 PM
Last Post: buran
  error while installing any library using pip in windows AkashKansal 1 4,335 Sep-24-2020, 07:51 AM
Last Post: buran
  Pip prints huge error when installing p5 hayden2s 1 2,217 Aug-08-2020, 02:30 PM
Last Post: snippsat
  Installing Error - Python 2.7.8 saranana 2 2,490 Jun-04-2020, 02:25 AM
Last Post: pyzyx3qwerty
  libhdf5 library error (opencv-contrib) 1979gian 0 1,895 May-11-2020, 06:10 PM
Last Post: 1979gian
  Getting error while installing packages using pip Shreya 2 3,959 Apr-22-2020, 08:03 AM
Last Post: Shreya
  Error after installing Python3.8.2: "No module named 'apt_pkg'" Chromie 3 3,823 Mar-09-2020, 08:20 PM
Last Post: micseydel
  error in installing Pystan sveto4ka 6 7,958 Oct-06-2019, 06:25 PM
Last Post: sveto4ka
  python opencv grayscale conversion error Spandora 1 9,523 May-26-2019, 10:43 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020