You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While investigating hbldh/bleak#1529, I came across this behaviour:
Python 3.12.2 (tags/v3.12.2:6abddd9, Feb 6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import winrt
>>> import winrt.windows
>>> import winrt.windows.devices
>>> import winrt.windows.devices.bluetooth
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python3.12\Lib\site-packages\winrt\windows\devices\bluetooth\__init__.py", line 6, in <module>
from winrt import _winrt_windows_devices_bluetooth
ImportError: DLL load failed while importing _winrt_windows_devices_bluetooth: The specified module could not be found.
Knowing very little about WinRT, I'm not sure this is expected.
Version info:
Python version: 3.12.2
Operating System: Windows 10 Pro, build 19045.4170
python -m pip install bleak==0.21.1
Requirement already satisfied: bleak==0.21.1 in c:\python3.12\lib\site-packages (0.21.1)
Requirement already satisfied: winrt-Windows.Devices.Bluetooth==2.0.0b1 in c:\python3.12\lib\site-packages (from bleak==0.21.1) (2.0.0b1)
Requirement already satisfied: winrt-Windows.Devices.Bluetooth.Advertisement==2.0.0b1 in c:\python3.12\lib\site-packages (from bleak==0.21.1) (2.0.0b1)
Requirement already satisfied: winrt-Windows.Devices.Bluetooth.GenericAttributeProfile==2.0.0b1 in c:\python3.12\lib\site-packages (from bleak==0.21.1) (2.0.0b1)
Requirement already satisfied: winrt-Windows.Devices.Enumeration==2.0.0b1 in c:\python3.12\lib\site-packages (from bleak==0.21.1) (2.0.0b1)
Requirement already satisfied: winrt-Windows.Foundation==2.0.0b1 in c:\python3.12\lib\site-packages (from bleak==0.21.1) (2.0.0b1)
Requirement already satisfied: winrt-Windows.Foundation.Collections==2.0.0b1 in c:\python3.12\lib\site-packages (from bleak==0.21.1) (2.0.0b1)
Requirement already satisfied: winrt-Windows.Storage.Streams==2.0.0b1 in c:\python3.12\lib\site-packages (from bleak==0.21.1) (2.0.0b1)
Requirement already satisfied: winrt-runtime==2.0.0-beta.1 in c:\python3.12\lib\site-packages (from winrt-Windows.Devices.Bluetooth==2.0.0b1->bleak==0.21.1) (2.0.0b1)
The text was updated successfully, but these errors were encountered:
chrisgeli
changed the title
Windows 10: Bluetooth broken?
Windows 10: Bluetooth broken with Python 3.12, working with Python 3.11
Apr 4, 2024
chrisgeli
changed the title
Windows 10: Bluetooth broken with Python 3.12, working with Python 3.11
Windows 10: Bluetooth broken with Python 3.12
Apr 4, 2024
While investigating hbldh/bleak#1529, I came across this behaviour:
Knowing very little about WinRT, I'm not sure this is expected.
Version info:
Python version: 3.12.2
Operating System: Windows 10 Pro, build 19045.4170
The text was updated successfully, but these errors were encountered: