[Bug 221797] Re: pybluez doesn't work

emilmont emilmont at gmail.com
Sun Oct 5 13:43:38 BST 2008


If you run:
dpkg --search _bluetooth.so

you should see:
python-bluez: /usr/lib/python2.5/site-packages/bluetooth/_bluetooth.so

Basically, you need to change:
import _bluetooth

with:
import bluetooth._bluetooth

The choice of moving _bluetooth.so in the bluetooth directory seems to
be peculiar of Ubuntu.

For consistency the example files like "inquiry-with-rssi.py" should be
updated with the new module path.

-- 
pybluez doesn't work
https://bugs.launchpad.net/bugs/221797
You received this bug notification because you are a member of
Bluetooth, which is subscribed to pybluez in ubuntu.



More information about the Ubuntu-bluetooth mailing list