I'm working with the following Sequent Microsystems expansion hat:
https://sequentmicrosystems.com/product ... spberry-pi
And I'm having trouble getting their Python library installed in a way that is accessible to Python scripts in general.
I've followed the instructions they provide, and once I do so I'm able to run functions from their __init__.py script. I also get the results I expect after a successful install, after typing in the command window, megaind -h.
For context, here's their installation instructions:, in advance of calling the import command.
pip install and apt install also has trouble finding the module.
Any suggestions on how to resolve it? Is there a certain folder I should be using for the library, instead of the default:
/home/pi/megaind-rpi
https://sequentmicrosystems.com/product ... spberry-pi
And I'm having trouble getting their Python library installed in a way that is accessible to Python scripts in general.
I've followed the instructions they provide, and once I do so I'm able to run functions from their __init__.py script. I also get the results I expect after a successful install, after typing in the command window, megaind -h.
For context, here's their installation instructions:
However, when I try importing their library into my own Python script, I get an error that indicates the module isn't found. Even when I import sys and os, and append the path to the folder structure withPlug your card on top of your Raspberry Pi and power up the system
Enable I2C communication on Raspberry Pi using raspi-config.
Install the software from github.com:
~$ git clone https://github.com/SequentMicrosystems/megaind-rpi.git
~$ cd /home/pi/megaind-rpi
~/megaind-rpi$ sudo make install
~/megaind-rpi$ megaind
Code:
sys.path.append("/home/pi/megaind-rpi")pip install and apt install also has trouble finding the module.
Any suggestions on how to resolve it? Is there a certain folder I should be using for the library, instead of the default:
/home/pi/megaind-rpi
Statistics: Posted by Gippy IO — Wed Nov 19, 2025 10:45 pm — Replies 1 — Views 38