I want to use of opencv library (python module) in pycharm. I set my python interpreter in setting and also add opencv path (C:\opencv\build\python\2.7) to python interpreter path. but unfortunately pycharm couldn't import opecv library. It's noticeable that I see the cv2.pyd in the left panel (project panel).
import cv2
and after that I got: Traceback (most recent call last): File "C:/Users/PlotPSO.py", line 13, in import cv2.cv ImportError: DLL load failed: %1 is not a valid Win32 application.
- pycharm ver: 2.7.2
- opencv ver: 2.4.4
- python ver: 2.7.4
- windows ver: 7 (x64)