我正在尝试安装和使用light-blue
蓝牙,但在使用时出现错误。我在 mac osx mojave
我尝试重新安装,我能找到的所有东西都无法正常工作
这是错误
Traceback (most recent call last):
File "ble_read_state.py", line 22, in <module>
import bluetooth._bluetooth as bluez
File "/Users/joranosinga/Downloads/pybluez/build/lib/bluetooth/__init__.py", line 47, in <module>
from .osx import *
File "/Users/joranosinga/Downloads/pybluez/build/lib/bluetooth/osx.py", line 1, in <module>
import lightblue
File "/usr/local/lib/python3.7/site-packages/lightblue/__init__.py", line 160, in <module>
from _lightblue import *
ModuleNotFoundError: No module named '_lightblue'
我不知道如何解决这个问题。