andreaschiavinato / python_grabber

Python tool to capture photo from camera and for doing simple image processing using DirectShow and OpenCV
MIT License
57 stars 27 forks source link

what dll dependencies it need to run on windows10 python3.9 #15

Open zhusihan-python opened 2 years ago

zhusihan-python commented 2 years ago

hi, i install python_grabber on windows 10, here is the error when run then demo code: Traceback (most recent call last): File "E:\projects\NeatSvtScan\scan\camera.py", line 222, in from pygrabber.dshow_graph import FilterGraph File "D:\softwares\conda\envs\qt5\lib\site-packages\pygrabber\dshow_graph.py", line 35, in from pygrabber.windows_media import * File "D:\softwares\conda\envs\qt5\lib\site-packages\pygrabber\windows_media.py", line 220, in WMCreateProfileManager = windll.Wmvcore.WMCreateProfileManager File "D:\softwares\conda\envs\qt5\lib\ctypes__init.py", line 452, in getattr__ dll = self._dlltype(name) File "D:\softwares\conda\envs\qt5\lib\ctypes__init.py", line 382, in init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 87] parameter error image my python version is 3.9.0 i don't know if its a bug on win10 or just some dll dependencies are missing

zhusihan-python commented 2 years ago

i found that the WMVCORE.DLL didn't missing, and when run in adminostrator account, it turns out without this error. maybe a priviledge problem or system path not setting well? kind of werid