Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bluetooth API error when starting WinPython Control Panel? #592

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

Closed
srk opened this issue Feb 13, 2018 · 10 comments
Closed

Bluetooth API error when starting WinPython Control Panel? #592

srk opened this issue Feb 13, 2018 · 10 comments
Labels

Comments

@srk
Copy link

srk commented Feb 13, 2018

OS: Windows 8.1 Professional (64-bit)
WinPython: 3.6.2.0 64-bit QT5
On starting WinPython Control Panel, I get the error dialog:

'This Windows version (6.3.9600) does not support the required Bluetooth API. Consider updating to a more recent Windows (100.10586 or above)'

I assume this is some problem with the underlying Windows/.NET dlls, but can anyone tell me how to fix this error? Winpython Command Line seems to work as normal.

@srk
Copy link
Author

srk commented Feb 13, 2018

OK, reverting PyQt5 (originally version 5.10) to an earlier version fixed the problem
pip uninstall PyQt5
pip install PyQt5==5.9.2

@stonebig
Copy link
Contributor

Interesting: do you mean PyQt5-5.10 needs Windows 10 ?

@stonebig
Copy link
Contributor

move back to PyQt5-5.9.2 as Spyder and Bluetooth don't like PyQt-5.10.0

@hiccup7
Copy link

hiccup7 commented Feb 15, 2018

Mouse cursor issue with PyQt 5.10 spyder-ide/spyder#6393
Planned to be fixed in Spyder v3.2.7. However, see the developer's comment: "There has been several reports that things are failing strangely with 5.10."

@hiccup7
Copy link

hiccup7 commented Feb 19, 2018

Spyder v3.2.7 now requires PyQt older than v5.10.

@altendky
Copy link

import PyQt5.Qt imports everything including bluetooth. While that import looks nice for the sake of only having one it does cost in scenarios such as this. So, just use the regular imports like import PyQt5.QtWidgets instead.

@altendky
Copy link

spyder-ide/qtpy#143 was released with Spyder 1.4.1.

@stonebig
Copy link
Contributor

Aaaaaaargh. So WinPython embedded version will be updated from QtPy-1.3.0 to QtPy-1.42.
Thank you @altendky

User in needs can copy ther copy of QtPy in
\Lib\site-packages\qtpy
to
\Lib\site-packages\winpython_vendor\qtpy

stonebig pushed a commit to stonebig/winpython that referenced this issue Jul 27, 2018
@stonebig stonebig added the bug label Jul 27, 2018
denchat added a commit to denchat/go2streetview that referenced this issue Feb 15, 2020
that triggers importing QtBlutooth.dll that incompatible with Win 8.1
winpython/winpython#592 (comment)

This should fix enricofer#45
If Qt persists, user workaround is renaming existing Qt5Blutooth.dll

Reference implementation:
Codaone/DEXBot#550
@rmd13
Copy link

rmd13 commented Aug 14, 2022

Win8.1 cannot start cellpose because of the PyQt5 compatibility problem,

The solution is :

change
from PyQt5.Qt import * to

import PyQt5
from PyQt5 import *

in any place of cellpose code that import PyQt5.

Another solution is renamed file C:\Python\Python38-32\Lib\site-packages\PyQt5\Qt\bin\Qt5Bluetooth.dll to _Qt5Bluetooth.dll.

More details see:

https://stackoverflow.com/questions/55205708/why-pyqt5-import-show-a-error-about-windows-and-bluetooth

@stonebig
Copy link
Contributor

stonebig commented Aug 14, 2022

and what are the said places ?
Microsoft support for Windows 8.1 will end on January 10, 2023. so:

  • you can proposing a patch in all bad packages with the problem, that impacts you,
  • or it's a bit of helping yourself with a nice 'replace' in all problematic source files 'live'
  • or just displace the dll for your users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants