我正在尝试写一个程序,可以配对到一个游戏机通过蓝牙,并作为控制器。为了做到这一点,我尝试安装PyBlueZ,但是我只能得到import bluetooth
,因为它在我的屏幕上显示了这个错误:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import bluetooth
File "C:\Python35\lib\bluetooth\__init__.py", line 39, in <module>
from bluetooth.msbt import *
File "C:\Python35\lib\bluetooth\msbt.py", line 2, in <module>
import bluetooth._msbt as bt
ImportError: No module named 'bluetooth._msbt'
这是因为我的安装错误,还是模块刚刚损坏?无论哪种情况,都有解决办法吗?在
目前没有回答
相关问题 更多 >
编程相关推荐