Jul-03-2020, 10:31 AM
All went wrong... so I deinstalled all python versions, deleted all folders and installed once more, this time using the "python-3.7.8-amd64.exe". And Yes, I checked the "add to path" option.
And voila: at last one big step towards a working environment:
Almost, because:
And voila: at last one big step towards a working environment:
C:\>pip -V pip 20.1.1 from c:\users\jost\appdata\local\programs\python\python37\lib\site-packages\pip (python 3.7) C:\>pip install opencv-python Collecting opencv-python Using cached opencv_python-4.2.0.34-cp37-cp37m-win_amd64.whl (33.0 MB) Collecting numpy>=1.14.5 Downloading numpy-1.19.0-cp37-cp37m-win_amd64.whl (13.0 MB) |████████████████████████████████| 13.0 MB 3.3 MB/s Installing collected packages: numpy, opencv-python Successfully installed numpy-1.19.0 opencv-python-4.2.0.34 C:\>python Python 3.7.8 (tags/v3.7.8:4b47a5b6ba, Jun 28 2020, 08:53:46) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> cv2.bilateralFilter <built-in function bilateralFilter>Wow. Almost there!!!
Almost, because:
>>> cv2.adaptiveBilateralFilter Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'cv2.cv2' has no attribute 'adaptiveBilateralFilter' >>>According to my thread here, , the adaptiveBilateralFilter should be in the opencv Version 4.2.