# Import automationhat error

**URL:** <https://forums.pimoroni.com/t/import-automationhat-error/3872>\
**Category:** Support\
**Created:** [January 26, 2017, 12:16am UTC](https://forums.pimoroni.com/t/import-automationhat-error/3872 "2017-01-26T00:16:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwagoner3](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jwagoner3](https://forums.pimoroni.com/u/jwagoner3)\
**Post date:** [January 26, 2017, 12:16am UTC](https://forums.pimoroni.com/t/import-automationhat-error/3872/1 "2017-01-26T00:16:47Z")

</div>

Used the Linux script “curl -sS [https://get.pimoroni.com/automationhat](https://get.pimoroni.com/automationhat) | bash” to load the automation HAT library. After the install is complete the window says " All Done! Enjoy your Automation HAT"

When using the “import automationhat” statement in Python 3.4.2 to load the Automation HAT library I get an error that says:

"from ads1015 import from ads1015  
import error: no module named ‘ads1015’

How can I fix this?  
Jim Wagoner

---

<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:** [January 26, 2017, 12:52am UTC](https://forums.pimoroni.com/t/import-automationhat-error/3872/2 "2017-01-26T00:52:05Z")

</div>

hum, yes, I’m afraid critical fixes for Python3 made a few months back have not been pushed out to the regular channels yet.

… I’ll remind @gadgetoid in the morning but in the interim, you might want to grab the repository and install the library that way:

```
git clone https://github.com/pimoroni/automation-hat
cd ./automation-hat/library
sudo python3 setup.py install
```
