# Automation hat install issues on pi3

**URL:** <https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346>\
**Category:** Support\
**Created:** [November 16, 2016, 3:58pm UTC](https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346 "2016-11-16T15:58:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bfrosty](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@bfrosty](https://forums.pimoroni.com/u/bfrosty)\
**Post date:** [November 16, 2016, 3:58pm UTC](https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346/1 "2016-11-16T15:58:49Z")

</div>

IC2 detected at 48, but when I run any of the examples it cant find ads module ‘ads1015’

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [November 16, 2016, 5:43pm UTC](https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346/2 "2016-11-16T17:43:30Z")

</div>

have you installed the library itself? if so how (manually or using the one-line installer mentioned in the github repo)?

another possibility is that you have a file named [automation.py](http://automation.py) in the same folder as the examples, that is a common stumbling block and python will try to import that file as opposed to the real library, buried in your system.

---

<div class="post-metadata">

**Author:** ![bfrosty](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@bfrosty](https://forums.pimoroni.com/u/bfrosty)\
**Post date:** [November 17, 2016, 2:05pm UTC](https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346/3 "2016-11-17T14:05:16Z")

</div>

one liner in git hub for install, I will check the file

---

<div class="post-metadata">

**Author:** ![bfrosty](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@bfrosty](https://forums.pimoroni.com/u/bfrosty)\
**Post date:** [November 17, 2016, 2:06pm UTC](https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346/4 "2016-11-17T14:06:39Z")

</div>

only example files input output and relay.

---

<div class="post-metadata">

**Author:** ![bfrosty](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@bfrosty](https://forums.pimoroni.com/u/bfrosty)\
**Post date:** [November 17, 2016, 11:39pm UTC](https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346/5 "2016-11-17T23:39:59Z")

</div>

I started fresh with a clean image updated etc. one line easy install Curl -sS… Still thinks that :  
from ads1015 import ads1015  
Import Error: No module named ‘ads1015’

Is there another way to install such that this will not happen?

---

<div class="post-metadata">

**Author:** ![bfrosty](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@bfrosty](https://forums.pimoroni.com/u/bfrosty)\
**Post date:** [November 18, 2016, 1:06am UTC](https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346/6 "2016-11-18T01:06:06Z")

</div>

ok so if you run the moule in python 2 no problem python 3 is where the error shows up?

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [November 18, 2016, 12:21pm UTC](https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346/7 "2016-11-18T12:21:10Z")

</div>

great detective work!

@gadgetoid just fixed the issue.

To install, pending packaging and release you should make a clone of the repo and run `sudo python3 setup.py install` from within in the /library folder.

---

<div class="post-metadata">

**Author:** ![bfrosty](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@bfrosty](https://forums.pimoroni.com/u/bfrosty)\
**Post date:** [November 18, 2016, 10:51pm UTC](https://forums.pimoroni.com/t/automation-hat-install-issues-on-pi3/3346/8 "2016-11-18T22:51:20Z")

</div>

Works like a charm, Thanks
