Python Forum
python and openCV installation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python and openCV installation
#13
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:
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.
Reply


Messages In This Thread
python and openCV installation - by dejhost - Jul-01-2020, 03:28 PM
RE: python and openCV installation - by snippsat - Jul-01-2020, 04:05 PM
RE: python and openCV installation - by dejhost - Jul-02-2020, 09:30 AM
RE: python and openCV installation - by snippsat - Jul-02-2020, 10:05 AM
RE: python and openCV installation - by dejhost - Jul-02-2020, 11:08 AM
RE: python and openCV installation - by snippsat - Jul-02-2020, 02:06 PM
RE: python and openCV installation - by dejhost - Jul-02-2020, 02:23 PM
RE: python and openCV installation - by snippsat - Jul-02-2020, 03:17 PM
RE: python and openCV installation - by dejhost - Jul-03-2020, 08:10 AM
RE: python and openCV installation - by snippsat - Jul-03-2020, 08:52 AM
RE: python and openCV installation - by dejhost - Jul-03-2020, 09:19 AM
RE: python and openCV installation - by snippsat - Jul-03-2020, 09:48 AM
RE: python and openCV installation - by dejhost - Jul-03-2020, 10:31 AM
RE: python and openCV installation - by snippsat - Jul-03-2020, 10:53 AM
RE: python and openCV installation - by dejhost - Jul-03-2020, 12:08 PM
RE: python and openCV installation - by snippsat - Aug-04-2020, 02:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with using opencv in python Raunak1023984765 21 2,093 Feb-21-2024, 04:25 PM
Last Post: Pedroski55
  Python installation for old MacOS Yonix 1 549 Sep-21-2023, 03:32 PM
Last Post: menator01
  Installation of packages to newest Python version from previous one Andrzej_Andrzej 3 936 Jul-15-2023, 11:32 AM
Last Post: snippsat
  How to see the date of installation of python modules. newbieAuggie2019 4 1,738 Mar-31-2023, 12:40 PM
Last Post: newbieAuggie2019
  Getting "SSL client not supported by this Python installation" error prabirsarkar 0 999 Mar-13-2023, 05:01 PM
Last Post: prabirsarkar
  python installation/running inside singularity container erdemath 2 1,884 Sep-21-2022, 08:13 AM
Last Post: erdemath
Question Python V3.11 Installation Help Danno 2 1,148 Aug-11-2022, 02:30 AM
Last Post: Danno
  Help for the shortest way to install a suitable version of Python, Numpy, and OpenCV. Ezzat 2 2,354 Dec-23-2021, 12:34 PM
Last Post: snippsat
  Python OpenCV window not opening in fullscreen mode Zman350x 0 3,360 Apr-29-2021, 07:54 PM
Last Post: Zman350x
  Portable installation of Python possible? pstein 2 3,162 Nov-15-2020, 12:14 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020