switchdoclabs / iBeacon-Scanner-

Reliable Bluetooth LE (iBeacon) scanner for Raspberry Pi
202 stars 122 forks source link

error messages trying to run testblescan.py #11

Open wstein25 opened 8 years ago

wstein25 commented 8 years ago

here is the response:

pi@raspberrypi:~/Switchdoc_labs $ ls ble.py bluetooth init.py osx.py _widcomm.pyd blescan.py bluez.py msbt.py testblescan.py blescan.pyc btcommon.py _msbt.pyd widcomm.py pi@raspberrypi:~/Switchdoc_labs $ sudo python testblescan.py Traceback (most recent call last): File "testblescan.py", line 4, in import blescan File "/home/pi/Switchdoc_labs/blescan.py", line 21, in import bluetooth._bluetooth as bluez File "/home/pi/Switchdoc_labs/bluetooth/init.py", line 43, in from .bluez import * File "/home/pi/Switchdoc_labs/bluetooth/bluez.py", line 6, in import _bluetooth as _bt ImportError: No module named _bluetooth pi@raspberrypi:~/Switchdoc_labs $

Any ideas on what I am doing wrong?

Thanks

kevinpanaro commented 7 years ago

sudo apt-get install python-bluez should fix it.