Python2 tutorial: Scanning for Devices, No module named MetaWear

Hello, I have a MetaMotionR that I have started to working with recently. I have gone through the your Python2 tutorial online.

I have a question regarding the tutorial. At the end of installation portion of the tutorial, it tells the user to run sudo python scan_connect.py or just python scan_connect.py to scan for devices. But, my terminal displays:

pi@raspberrypi:~/MetaWear-SDK-Python/examples $ sudo python scan_connect.py
Traceback (most recent call last):
File "scan_connect.py", line 3, in
from mbientlab.metawear import MetaWear
ImportError: No module named metawear

pi@raspberrypi:~/MetaWear-SDK-Python/examples $ python scan_connect.py
scanning for devices...
error 1551807968.382373: Error obtaining HCI device ID
terminate called after throwing an instance of 'BLEPP::HCIScanner::HCIError'
what(): Error obtaining HCI device ID
Aborted

I then tried going through the install metawear portion of the tutorial again, but I still have the same results.

What would you recommended I do to fix this? I am new to using python and don’t have lots of Linux experience.

Comments

Sign In or Register to comment.