I've tried downloading opencv
through pip
, conda
and downloading whl
file from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame , no luck so far.
I tried
pip install opencv-contrib-python ,
pip3 install opencv-contrib-python ,
pip install opencv-python
,
pip3 install opencv-python
All give same result, after successful installation, I get cv2
installed without an actual cv2.py
file inside it, there is a folder CV2 inside site packages, which has looks like bellow:
and receive no module named cv2
when asking to import cv2 on Spyder. When I use the ame command in the Python Shell, it imports with no issues and runs cv2.imread also with no issue, so am not quite sure if its a Python or a Spyder issue.
I also used anaconda 3
conda install
, there exist issues between h5py
package and opencv
package, have not been able to download. I use windows 10
. Ive tried the method outlined here:
Cannot find module cv2 when using OpenCV
Ive installed, uninstalled and reinstalled python 3.7
, Can anyone direct me on any other paths to take?