OpenBCI_Python, create new script causes: "ERROR:yapsy:Plugin candidate rejected: cannot find..."

edited November 2018 in Software
Hello,

I'm using user.py and I wanted to create a new script in the plugin folder.
So I created a script as below and I saved it in the plugin folder:
import plugin_interface as plugintypes
    class PluginNameplugin(plugintypes.IPluginExtended):
        def activate(self):
            print "Print activated"

        def deactivate(self):
            print "Goodbye"

        def __call__(self, sample):

Then I described my plugin in another file with the extension yapsy-plugin.

But when I run the file user.py: user.py -a nameplugin, I get the following error message:   ERROR:yapsy:Plugin candidate rejected: cannot find the file or directory module for .....


How can I solve this problem?

Thank you in advance

Comments

Sign In or Register to comment.