Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

No module named ABE_Helpers

The IO Pi Plus is a 32 channel MCP23017 GPIO expander for the Raspberry Pi

06/06/2017

Posted by:
TonyE

TonyE Avatar

Relatively new to RPi and very new to IO Pi Plus!When I run tutorial1.py from the directory /home/pi/ABElectronics_Python3_libraries all goes well. However when I copy tutorial1.py to /home/pi (where the rest of the programs I have written sit) I get ImportError: No module named ABE_helpers.Is this to be expected? How do run programs I write for the IO Pi Plus in my normal directory?I'm running Wheezy & Python 3.2.3 on a Pi B+Thanks

06/06/2017

Posted by:
andrew

andrew Avatar

Location:
United Kingdom

andrew Twitter  andrew Website  

Hi

Try copying the ABE_helpers.py and ABE_IoPi.py scripts into the /home/pi folder.

Alternatively, if you want to keep the IO Pi library in its existing folder you can use a pythonpath to tell python where to look for the files. We have a tutorial in our knowledgebase which explains how to use python paths.

Sign in to post your reply


Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.