PyBluezを使用して、PyCharm で Python から Bluetooth を実装しようとしました。この特定のエラーで立ち往生しています。このエラーを検索しようとしましたが、見つかりませんでした。誰でも助けることができますか?
これは私のコードです
>>> from bluetooth import discover_devices
>>> nearby_devices = discover_devices()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\bluetooth\msbt.py", line 15, in discover_devices
devices = bt.discover_devices(duration=duration, flush_cache=flush_cache)
IOError: The RPC server is unavailable.