ki4070ma / toio-py

https://toio.github.io/toio-spec/
2 stars 1 forks source link

Run scripts on ubuntu #3

Closed ki4070ma closed 5 years ago

ki4070ma commented 5 years ago

Since I can't run with ubuntu (can't install gattlib)

ki4070ma commented 5 years ago
$ ldconfig -p | grep libboost_python
    libboost_python3-py36.so.1.65.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python3-py36.so.1.65.1
    libboost_python3-py36.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python3-py36.so
    libboost_python-py27.so.1.65.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.65.1
    libboost_python-py27.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so

$ pip download gattlib
$ tar xvzf ./gattlib-0.20150805.tar.gz
$ cd gattlib-0.20150805/
$ sed -ie 's/boost_python-py34/boost_python-py36/' setup.py
$ sudo python3.6 setup.py install