Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ModuleNotFoundError: No module named 'cv2' #73
Remove this section if there is no media associated with the issue/bug report.
You need to install the
Also note you can install PySceneDetect the same way via:
If the above methods fail, you can also download the cv2 module from:
For 32-bit Python 3.7, you want the file opencv_python‑3.4.3‑cp37‑cp37m‑win32.whl, and install it via
I'll try to have a more descriptive error message in the program in the next release, thanks for bringing this up. Let me know if you have any issues getting OpenCV installed.
Edit: I didn't add OpenCV as a dependency to the setup.py file because the opencv-python package used to not include static libraries, but it seems to now. The next release of PySceneDetect (v0.6) will include this fix, so it installs cleanly when you run:
After installing with "pip install opencv-python" command, I got this:
Then I recalled you told to use MKVmerge.exe on scenedetect folder, so I used portable and copy MKVmerge.exe and it works flawlessly.
You can get both ffmpeg/mkvmerge from here for 64-bit Windows:
Likewise, you do the same thing (just drop ffmpeg.exe where scenedetect.exe is). I'll try to make the download link a little bit more apparent, and when I finalize the Windows release (portable/installer), it should include both programs for you as well.
If you have 32-bit Windows, you can find download links for ffmpeg/mkvmerge from:
Let me know if this solves it, thanks again for your help in testing the software!!
I recently used 64bit python. so don't know why this I got error!
Here is error: