dejhost Wrote:I believe that a "start from scratch" is absolutely necessary!Look at this Python 3.8 (3.6-3.7) and pip installation under Windows
On PyPi opencv-python 4.2.0.34,so from
cmd
it shall work like this.# Python interpreter you point to in Editor C:\>python -c "import sys; print(sys.executable)" C:\python38\python.exe # Test pip C:\>pip -V pip 20.1.1 from c:\python38\lib\site-packages\pip (python 3.8) # Install C:\>pip install opencv-python Collecting opencv-python Downloading opencv_python-4.2.0.34-cp38-cp38-win_amd64.whl (33.1 MB) |████████████████████████████████| 33.1 MB 6.8 MB/s Collecting numpy>=1.17.3 Using cached numpy-1.19.0-cp38-cp38-win_amd64.whl (13.0 MB) Installing collected packages: numpy, opencv-python Successfully installed numpy-1.19.0 opencv-python-4.2.0.34 # Test that it works C:\>python >>> import cv2 >>> >>> cv2.bilateralFilter <built-in function bilateralFilter> >>> >>> help(cv2.bilateralFilter) Help on built-in function bilateralFilter: