小编Joh*_*aly的帖子

PyBluez的模块对象没有属性'discover_devices'

我是python的新手,我正在努力让Pybluez为我工作.

以下是当我尝试发现蓝牙装置时会发生什么.

import bluetooth
nearby_devices = bluetooth.discover_devices()

Traceback (most recent call last):
   File "<stdin>",line1,in <module>
AttributeError: 'module' object has no attribute 'discover_devices'
Run Code Online (Sandbox Code Playgroud)

我在Windows 8.1,python 2.7.10,pybluez 0.21

python bluetooth

2
推荐指数
1
解决办法
3846
查看次数

标签 统计

bluetooth ×1

python ×1