Install OpenCV for Fedora 32 Python

asked 2020-06-01 13:21:55 -0600

Hello, and thank you for the time you will take to answer.

I got myself in trouble when trying to install opencv on my Fedora machine. I first followed this :

https://opencv-python-tutroals.readth...

yum didn't work and cv2 couldn't be found, so I tried the complete install from the github repo, following the tutorial exactly step by step. When it fails again, I tried to add the path, but there were different problems: either cv2 couldn't be found or it can't find a module cv2.cv2

Now, I removed all folders manually from usr/ with cv2 in it, and I hope someone could help me fix the installation :D

edit retag flag offensive close merge delete

Comments

the tutroals are out of date / no more maintained, unfortunately. have you tried a simple:

pip install opencv-python

?

berak gravatar imageberak ( 2020-06-03 05:39:10 -0600 )edit