I Can't Install Opencv For Python On Windows After Trying Out Almost Everything
Solution 1:
OpenCV hasn't been built for 3.8 yet according to the docs 3.7 is the highest version
https://pypi.org/project/opencv-python/
try downgrading your python to 3.7 or below. It would work.
Solution 2:
Is pip up to date? You can run python -m pip install --upgrade pip
to check.
It should work after that.
Solution 3:
Please try the following:
import imp
imp.find_module("cv2")
Solution 4:
In the above link search opencv_python‑4.1.2‑cp36‑cp36m‑win_amd64.whl for python 3.6 64 bit and download that wheel file.
Install procedures:
Go to the site-package path in the python36
C:\Program Files\Python36\Lib\site-packages>
Then put the command pip install . Example,
C:\Program Files\Python36\Lib\site-packages>pip install F:\urllib3-1.25.7-py2.py3-none-any.whl
After this procedure import and check in IDLE.
If any doubt ping this. Good luck
Post a Comment for "I Can't Install Opencv For Python On Windows After Trying Out Almost Everything"