-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dxcam.create() not working? #18
Comments
Hi, thanks for the report -- I suspect this is due to the compatibility issue of Windows 11. Could you run dxdiag (Win + R) and paste the information under the tab "Display -> Drivers -> Feature Levels"? |
Hi, I have Windows 10 and i have the same problem |
since he didnt, here is mine
|
Do you have any solution? |
I have tried many things however creating the camera for the screenshots is giving back errors.
I am on windows 11
Python 3.10.4
Traceback (most recent call last): File "c:\Users\PyPit\OneDrive\Documents\CODE\Valorant arduino\scripts\main.py", line 65, in <module> camera = dxcam.create() File "C:\Users\PyPit\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\__init__.py", line 110, in create return __factory.create( File "C:\Users\PyPit\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\__init__.py", line 70, in create camera = DXCamera( File "C:\Users\PyPit\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 33, in __init__ self._duplicator: Duplicator = Duplicator( File "<string>", line 6, in __init__ File "C:\Users\PyPit\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\core\duplicator.py", line 19, in __post_init__ output.output.DuplicateOutput(device.device, ctypes.byref(self.duplicator)) _ctypes.COMError: (-2005270524, 'The specified device interface or feature level is not supported on this system.', (None, None, None, 0, None)) Exception ignored in: <function DXCamera.__del__ at 0x00000254DCCF60E0> Traceback (most recent call last): File "C:\Users\PyPit\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 243, in __del__ self.release() File "C:\Users\PyPit\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 238, in release self.stop() File "C:\Users\PyPit\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 138, in stop if self.is_capturing: AttributeError: 'DXCamera' object has no attribute 'is_capturing'
The text was updated successfully, but these errors were encountered: