Python Forum
OpenCV installation issue
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenCV installation issue
#6
Ok guys thanks for your response. I eventually have installed opencv module from
Python official site
I couldn't install it because my python was 32 bit and I try to install 64 bit.(Dummy fault in know Big Grin )
After installation when i try to import library I get this.
C:\>python -m pip install opencv_contrib_python-3.3.0.9-cp36-cp36m-win32.whl
Processing c:\opencv_contrib_python-3.3.0.9-cp36-cp36m-win32.whl
Requirement already satisfied: numpy>=1.11.3 in c:\python36-32\lib\site-packages (from opencv-contrib-python==3.3.0.9)
Installing collected packages: opencv-contrib-python
Successfully installed opencv-contrib-python-3.3.0.9
C:\>python
Python 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:14:34) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: %1 is not a valid Win32 application.
Any idea how to fix it?
Reply


Messages In This Thread
OpenCV installation issue - by NOOBscripts - Aug-17-2017, 11:58 AM
RE: OpenCV installation issue - by Bass - Aug-17-2017, 12:05 PM
RE: OpenCV installation issue - by NOOBscripts - Aug-17-2017, 12:16 PM
RE: OpenCV installation issue - by Bass - Aug-17-2017, 12:24 PM
RE: OpenCV installation issue - by snippsat - Aug-17-2017, 01:07 PM
RE: OpenCV installation issue - by NOOBscripts - Aug-17-2017, 01:33 PM
RE: OpenCV installation issue - by snippsat - Aug-17-2017, 01:53 PM
RE: OpenCV installation issue - by NOOBscripts - Aug-17-2017, 02:56 PM
RE: OpenCV installation issue - by snippsat - Aug-17-2017, 03:09 PM

Forum Jump:

User Panel Messages

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