Skip to content

Instantly share code, notes, and snippets.

@JakubAndrysek
Last active July 27, 2023 22:34
Show Gist options
  • Save JakubAndrysek/077e098d69fd5650c9440f545c66c24a to your computer and use it in GitHub Desktop.
Save JakubAndrysek/077e098d69fd5650c9440f545c66c24a to your computer and use it in GitHub Desktop.
PyBluez - latest - Ubuntu install (+ BLE install)

PyBluez - latest - Ubuntu

Install latest PyBluez - standard

Dependencies

sudo apt-get install libbluetooth-dev
sudo apt-get install bluez

Install using PIP

pip install git+https://github.com/pybluez/pybluez.git#egg=pybluez

Install latest PyBluez - BLE

Additional dependencies

sudo apt-get install pkg-config
sudo apt-get install libglib2.0-dev
sudo apt-get install libboost-python-dev
sudo apt-get install libboost-all-dev

Install using PIP

python3 -m pip install git+https://github.com/pybluez/pybluez.git#egg=pybluez\[ble\]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment