安装bluepy

安装失败了反正是失败了
就是运行example目录下的ble目录中的scan.py
失败了然后就在我的树莓派板子上运行了
https://raspberrypi.stackexchange.com/questions/55530/pybluez-and-gattlib-error/57520
参考的知识点

sudo apt-get install mercurial
the clone the source of gattlib

hg clone https://bitbucket.org/OscarAcena/pygattlib
cd pygattlib
cat DEPENDS
you need to install all those dependencies, the reason you getting that error is because you didn't install libboost-thread-dev.

sudo apt-get install libboost-thread-dev
now install gattlib like any other python module.

sudo python setup.py install
That should fix it. Thats how I install it on the RPi 3

这个网站也可以参考一下。
https://bitbucket.org/OscarAcena/pygattlib
https://bitbucket.org/OscarAcena/pygattlib/src/45e04060881a20189412681f52d55ff5add9f388/DEPENDS?at=default&fileviewer=file-view-default

相关文章:

  • 2021-11-09
  • 2021-08-11
  • 2021-07-04
  • 2021-04-15
  • 2021-10-02
  • 2021-12-17
  • 2021-11-06
  • 2021-05-22
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2021-08-28
  • 2021-11-19
  • 2021-12-20
相关资源
相似解决方案