About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Register or Sign In

No module named ABE_Helpers

1369 Views - Created 06/06/2017


Posted by:

Users 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+



Posted by:

Users Avatar

United Kingdom

Users Twitter  Users Website  


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.

AB Electronics UK Tech Support

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.