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 or just python to scan for devices. But, my terminal displays:

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

pi@raspberrypi:~/MetaWear-SDK-Python/examples $ python
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

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.


Sign In or Register to comment.