ImportError: No module named yapsy.PluginManager

edited November 2018 in Software
I am using OpenBCI - Python in my Ubuntu 18.04

I tried to run the below code for communicating the device through terminal

sudo python user.py -p /dev/ttyUSB0

But it shows the error - 

> Traceback (most recent call last):
>   File "user.py", line 12, in <module>
>     from yapsy.PluginManager import PluginManager
> ImportError: No module named yapsy.PluginManager

I tried to install yapsy after that also the same error is showing. If I use the code without sudo, then it shows like

> serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'

Thats why I used the sudo command. 

Kindly help me in solving this error and to run the module using python

Comments

Sign In or Register to comment.