通过pip install -e .[ble] 安装pybluez时出现Command “python setup.py egg_info“ failed with error code 1题解决方案

在ubuntu18.04上安装pybluez ble 时总是出现如下问题:

通过pip install -e .[ble] 安装pybluez时出现Command “python setup.py egg_info“ failed with error code 1题解决方案_第1张图片
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sJA0zf/gattlib/

输入以下命令然后再次运行pip install -e .[ble]即可正常安装

sudo apt-get install libboost-python-dev libboost-thread-dev libbluetooth-dev libglib2.0-dev

通过pip install -e .[ble] 安装pybluez时出现Command “python setup.py egg_info“ failed with error code 1题解决方案_第2张图片

通过pip install -e .[ble] 安装pybluez时出现Command “python setup.py egg_info“ failed with error code 1题解决方案_第3张图片

你可能感兴趣的:(pybluez_ble,python,ubuntu,linux)