Real-ESRGAN
Real-ESRGAN copied to clipboard
ModuleNotFoundError: No module named 'cv2' on Windows
I installed the requirements.txt with
pip install -r requirements.txt
but when i try to execute the comand
python inference_realesrgan_video.py -i video.mp4 -n realesr-animevideov3 -s 2 --suffix outx2
i have the error:
Traceback (most recent call last):
File "C:\Users\matte\Documents\GitHub\Real-ESRGAN\inference_realesrgan_video.py", line 2, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'
I tried to reinstall opencv manually and I also tried the dcontrib version but still doesen't work.
I'm working on Windows 11 with Python 3.10.
try using:
pip install opencv-python
and then running bash again
try using:
pip install opencv-python
and then running bash again
it's again fails...