hbldh / pymetawear

Community developed SDK around the Python bindings for the C++ SDK

Home Page:https://hbldh.github.io/pymetawear/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LED.py doesn't work

siddrajput opened this issue · comments

I'm getting the following message when I run LED.py

edison@ubilinux:/home/pymetawear/examples$ sudo python led.py Traceback (most recent call last): File "led.py", line 21, in <module> from pymetawear.client import discover_devices, MetaWearClient, libmetawear File "/home/pymetawear/pymetawear/client.py", line 30, in <module> from pymetawear.backends.pygatt import PyGattBackend File "/home/pymetawear/pymetawear/backends/pygatt/__init__.py", line 22, in <module> from pymetawear.backends.pygatt.gatttool import PyMetaWearGATTToolBackend File "/home/pymetawear/pymetawear/backends/pygatt/gatttool.py", line 18, in <module> import pygatt File "/usr/local/lib/python2.7/dist-packages/pygatt/__init__.py", line 3, in <module> from .backends import BGAPIBackend, GATTToolBackend # noqa File "/usr/local/lib/python2.7/dist-packages/pygatt/backends/__init__.py", line 2, in <module> from .bgapi.bgapi import BGAPIBackend # noqa File "/usr/local/lib/python2.7/dist-packages/pygatt/backends/bgapi/bgapi.py", line 9, in <module> import serial ImportError: No module named serial edison@ubilinux:/home/pymetawear/examples$