My first attempt to install opencv was through pip from anaconda:
pip install opencv-python
However this gave me the following error when I tried to import cv2:
ImportError: DLL load failed: The specified module could not be found.
I uninstalled the anaconda version and found a 64 bit wheel of opencv for python 3.6 at http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv. Downloading this and installing it with pip worked perfectly. I don't know why the original error occured, but it looks like python 3 support might not be great with opencv at the moment.
However this gave me the following error when I tried to import cv2:
ImportError: DLL load failed: The specified module could not be found.
I uninstalled the anaconda version and found a 64 bit wheel of opencv for python 3.6 at http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv. Downloading this and installing it with pip worked perfectly. I don't know why the original error occured, but it looks like python 3 support might not be great with opencv at the moment.
Thanks For Sharing The Information The Information Shared Is Very Valuable Please Keep Updating Us
ReplyDeleteby cognex
AWS Training in Chennai