-
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
Bleak Version is not supporting in the win11 #1596
Comments
It sounds like Bleak didn't get installed correctly on Windows 11. The required packages for Python 3.12 on Windows can be found in the Lines 32 to 39 in ce48c7f
|
If you are running Bleak from the source directory, you can install everything using |
so what should i do with this one?
and where should i place this one? i am new to this ...so can you help?
…On Tue, Jun 11, 2024 at 7:52 PM David Lechner ***@***.***> wrote:
It sounds like Bleak didn't get installed correctly on Windows 11. The
required packages for Python 3.12 on Windows can be found in the
pyproject.toml file.
https://github.com/hbldh/bleak/blob/ce48c7fe470d7ead949d5249b74d571411defbb2/pyproject.toml#L32-L39
—
Reply to this email directly, view it on GitHub
<#1596 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2CJ373FXNMSIL3Y4FVVEMDZG4B2JAVCNFSM6AAAAABJEGSGLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQHA4TMNRYGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It's not really clear what you did or what you are trying to do, so hard to help without more information. Are you using a virtual environment, etc.? |
Hi, this issue seems to be not related only on Win11 but also in Win10. So maybe related to python 3.12 on Windows. I did the test today with a bleak desktop application packaged with pyinstaller with my package for python3.10 and python3.12 and with python3.12 i have the same error. |
Can you give the exact steps needed to reproduce the error? |
I use poetry as package manager, so firstly I bumped my python version from 3.10 to 3.12 with the set of line Then in my release GitHub action workflow:
|
Did you try https://pyinstaller.org/en/stable/when-things-go-wrong.html#listing-hidden-imports to see if you can help pyinstaller find the missing packages? |
Hi ! I bumped my python version to 3.12 and tried a workaround for pyinstaller in adding this code to my builder script:
And it works, the .exe build is functional. So this thing doesn't explain the bug related to this issue but this allows to build .exe application with a workaround. |
Also, to avoid to get looped line
by
or
change comma by percent to get string arg and so get the formatted value from function |
An even better fix would be to avoid calling if logger.isEnabledFor(logging.DEBUG):
logger.debug("Received %s.", _format_event_args(event_args)) |
bluetoothctl -v
) in case of Linux:I am making a GUI which communicates with BLE device and do some work.
my bleak module and everything was working fine in the win10. but as soon as i shifted to the win11. i am getting some error whenever i run my exe file. i have tried the same script on win 10 then it is working fine.
i think bleak module doesn't support the win 11 till now. then can anyone help me to work around it as in my company i am not allowed to use win 10.
i have tried installling the winrt and all but nothing seems to work.
The text was updated successfully, but these errors were encountered: