python - Pybluez installation in Linux -
i trying install pybluez-0.18 on linux mint 15 machine, got error message during installation process. tried searching online see if others might have encountered problem, not find any.
i list command tried execute, along error message received. tell me doing wrong, , need reso
tri108354@prtgc004-latitude-e6320 ~/downloads/pybluez-0.18 $ python setup.py install running install running build running build_py running build_ext building 'bluetooth._bluetooth' extension gcc -pthread -fno-strict-aliasing -g -o2 -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes -fpic -i/home/tri108354/anaconda/include/python2.7 -c bluez/btmodule.c -o build/temp.linux-i686-2.7/bluez/btmodule.o in file included bluez/btmodule.c:20:0: bluez/btmodule.h:5:33: fatal error: bluetooth/bluetooth.h: no such file or directory compilation terminated. error: command 'gcc' failed exit status 1
you need install libbluetooth-dev package compiling code
sudo apt-get install libbluetooth-dev
that should install bluetooth header files.
Comments
Post a Comment