Python Forum
python and openCV installation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python and openCV installation
#3
Hello Snappsat,
I am really grateful for your advice.

I installed as instructed:
Output:
pip 20.1.1 from C:\Users\xxx\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pip (python 3.8)
Output:
Requirement already satisfied: opencv-python in c:\users\xxx\appdata\local\programs\python\python38\lib\site-packages (4.2.0.34) Requirement already satisfied: numpy>=1.17.3 in c:\users\xxx\appdata\local\programs\python\python38-32\lib\site-packages (from opencv-python) (1.19.0)
Now, the "interesting" part:
>>> import cv2
Output:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\xxx\AppData\Local\Programs\Python\Python38\Lib\site-packages\cv2\__init__.py", line 3, in <module> from .cv2 import * ModuleNotFoundError: No module named 'cv2.cv2'
I assume that this needs to be fixed through Envornment Variables? My "Path" - variable looks like this:
[Image: vqVYtSm]

If this should be the source of the troubles: how to fix?
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 1,915 Feb-21-2024, 04:25 PM
Last Post: Pedroski55
  Python installation for old MacOS Yonix 1 527 Sep-21-2023, 03:32 PM
Last Post: menator01
  Installation of packages to newest Python version from previous one Andrzej_Andrzej 3 916 Jul-15-2023, 11:32 AM
Last Post: snippsat
  How to see the date of installation of python modules. newbieAuggie2019 4 1,704 Mar-31-2023, 12:40 PM
Last Post: newbieAuggie2019
  Getting "SSL client not supported by this Python installation" error prabirsarkar 0 988 Mar-13-2023, 05:01 PM
Last Post: prabirsarkar
  python installation/running inside singularity container erdemath 2 1,864 Sep-21-2022, 08:13 AM
Last Post: erdemath
Question Python V3.11 Installation Help Danno 2 1,140 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,333 Dec-23-2021, 12:34 PM
Last Post: snippsat
  Python OpenCV window not opening in fullscreen mode Zman350x 0 3,339 Apr-29-2021, 07:54 PM
Last Post: Zman350x
  Portable installation of Python possible? pstein 2 3,143 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