Hi,
I have been trying to run some code on F28 (in python) from the following site: https://github.com/AntiAegis/Iris-Recognition#vipython-implementation
I get that:
..... from cv2 import imread ModuleNotFoundError: No module named 'cv2'
I cannot figure out how to get this module on Fedora. I have tried installing many python3 packages but can not seem to hit it.
Any suggestions?
Many thanks, Ranjan
On 10/31/18 9:19 PM, Ranjan Maitra wrote:
from cv2 import imread ModuleNotFoundError: No module named 'cv2'
I cannot figure out how to get this module on Fedora. I have tried installing many python3 packages but can not seem to hit it.
That's opencv. So install either python2-opencv or python3-opencv depending on which python version you're using.
On Wed, 31 Oct 2018 21:53:20 -0700 Samuel Sieb samuel@sieb.net wrote:
On 10/31/18 9:19 PM, Ranjan Maitra wrote:
from cv2 import imread ModuleNotFoundError: No module named 'cv2'
I cannot figure out how to get this module on Fedora. I have tried installing many python3 packages but can not seem to hit it.
That's opencv. So install either python2-opencv or python3-opencv depending on which python version you're using.
Thanks very much, this works! Ranjan
On 11/1/18 12:19 PM, Ranjan Maitra wrote:
I cannot figure out how to get this module on Fedora. I have tried installing many python3 packages but can not seem to hit it. Any suggestions?
Have you tried "pip install opencv-python" ?
On 10/31/18 10:35 PM, Robbi Nespu wrote:
On 11/1/18 12:19 PM, Ranjan Maitra wrote:
I cannot figure out how to get this module on Fedora. I have tried installing many python3 packages but can not seem to hit it. Any suggestions?
Have you tried "pip install opencv-python" ?
Please don't suggest that when the needed module is already packaged in Fedora.
After you do the dnf install portion, you have to do the pip install in most cases.
Regards, Les H On Wed, 2018-10-31 at 23:19 -0500, Ranjan Maitra wrote:
Hi,
I have been trying to run some code on F28 (in python) from the following site: https://github.com/AntiAegis/Iris-Recognition#vipython-implementation
I get that:
..... from cv2 import imread ModuleNotFoundError: No module named 'cv2'
I cannot figure out how to get this module on Fedora. I have tried installing many python3 packages but can not seem to hit it.
Any suggestions?
Many thanks, Ranjan
-- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e- mail, please use appropriate addresses. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org