cannot import grove modules

I have rasp pi 3+ and I am trying to follow the procedures here just to get the simple grove_button to work:



http://wiki.seeedstudio.com/Grove-Button/



I get the following error:
[attachment=1]Snag_1244672.png[/attachment]


BUT, all modules ARE there! see: [attachment=0]Snag_1247d03.png[/attachment]

So why is this happening? I am running the latest Raspbian (buster), but that shouldn’t matter, its not recognizing those folders as modules for some reason.

Hi,



You need to install the Grove.py python package, I’ll guide you step by step.



You can download the package by entering this command

</s>curl -sL https://github.com/Seeed-Studio/grove.py/raw/master/install.sh | sudo bash -s -<e>

after installation, try running your code and let us know the feedback.

I have already done that according to <LINK_TEXT text=“http://wiki.seeedstudio.com/Grove_Base_ … stallation”>http://wiki.seeedstudio.com/Grove_Base_Hat_for_Raspberry_Pi/#installation</LINK_TEXT>

But I don’t get the “Success” message:
[attachment=1]Snag_d97f81.png[/attachment]


I get this:

[attachment=0]Snag_da2e7e.png[/attachment]

It seems like all of the folders are in place, so what could be the problem? Its still giving the same error

Hi,



Did you have an internet connection while doing the installation?



you can also try another method to install From source code



Clone the repo </s>git clone https://github.com/Seeed-Studio/grove.py<e>

get inside the folder </s>cd grove.py<e>

To install </s>sudo pip3 install<e>

I tried the one-click installation again, and this time it worked. Thank you.

But still can’t get grove_button.py to work because it is expecting Grove Base Hat inserted, However I have the RESPEAKER intalled instead. I cannot find instructions how to get the I2C or the GP12 to work on this. I’m not interested in the RESPEAKER device right now, but that’s what came the Grove starter kit for Azure IOT edge. I do not have the Grove Base Hat. Can I use grove_button.py and the other python scripts with the RESPEAKER, and connecting to the RESPEAKER I2C port and/or GP12 port which are built in to the RESPEAKER?