-
Notifications
You must be signed in to change notification settings - Fork 300
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
Python 3.12 on Windows 10: DLL load failed while importing _winrt_windows_devices_bluetooth #1529
Comments
Some additional version information that I thought might be helpful:
The bleak documentation page about the Windows backend states that bleak uses the dlech/bleak-winrt package, but A potentially related issue: #741 Maybe this is a bug in
|
I fixed the docs now.
Maybe? Does |
Testing with Python 3.11:The dependencies are completely different:
And, importantly, it works:
|
There is a
I just noticed there is |
This updates to the stable release of winrt, which is now 2.0.1. This has the side effect of fixing import errors on systems where the required Visual C++ redistributable is not installed. Fixes: #1529
This updates to the stable release of winrt, which is now 2.0.1. This has the side effect of fixing import errors on systems where the required Visual C++ redistributable is not installed. Fixes: #1529
Description
I am trying to use bleak on Windows 10, but when instantiating BleakScanner, it crashes.
What I Did
Logs
I repeated the same as above after
set BLEAK_LOGGING=1
in my cmd.exe, but no additional log output was generated.The text was updated successfully, but these errors were encountered: