import error no module named _bluetooth
hello I'm studying ros with raspberry ,ubuntu mate 16.04
I want to ask about blue tooth problem.
I'm already installed bluez,pybluez,python-bluez etc.
I run the bluetooth code in terminal,('sudo python bluetoothcodefiles.py')
it has not error,
but create ros package (bluetooth) pkg files , and run same code ,
it had errors,
error named : import error: no module named "_.bluetooth"
I'm studying with this source : https://github.com/switchdoclabs/iBeacon-Scanner-
Asked by nada2bnm on 2017-10-12 22:45:21 UTC
Comments
ROS uses Python 2 for everything, so any module you want to use should be installed for Python 2.
Is
python
on your system perhaps pointing to Python 3?Asked by gvdhoorn on 2017-10-13 04:31:08 UTC
in terminal, python -v , I checked version 2.7 ,
Asked by nada2bnm on 2017-10-20 03:52:21 UTC