# Resin-wifi-connect-python error on Intel Edison

**URL:** <https://forums.balena.io/t/resin-wifi-connect-python-error-on-intel-edison/613>\
**Category:** Product support\
**Created:** [March 2, 2017, 3:27pm UTC](https://forums.balena.io/t/resin-wifi-connect-python-error-on-intel-edison/613 "2017-03-02T15:27:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonkemper](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/simonkemper/32/128_2.png) [@simonkemper](https://forums.balena.io/u/simonkemper)\
**Post date:** [March 2, 2017, 3:27pm UTC](https://forums.balena.io/t/resin-wifi-connect-python-error-on-intel-edison/613/1 "2017-03-02T15:27:12Z")

</div>

Hi!

I was trying to setup the resin-wifi-connect-python example with integrated openssh-server so I modified the Dockerfile accordingly but pushing it onto an Intel Edison leads to an error when building the container:

[https://gist.github.com/KemperVreden/0ad5acd8a1a24bfa5ceb5b6d87b37948](https://gist.github.com/KemperVreden/0ad5acd8a1a24bfa5ceb5b6d87b37948)

When using a different Board - Raspberry Pi 3 - the container is being build without any errors. I guess that the file mentioned in the output is not part of the base-image of Intel Edison? Which is somehow strange since I can remember having successfully build resin-wifi-connect for Intel Edison.

It’s strange that it is requesting a library for the ARM architecture - Intel Edison is x86.

EDIT: Ok I can see the error. There’s ARM “hardcoded” into the Dockerfile. Any advice how I have to change that so that it will run on x86?

here’s a link to the Dockerfile:

[https://gist.github.com/KemperVreden/84f78ecc31e64786784d560698c4522b](https://gist.github.com/KemperVreden/84f78ecc31e64786784d560698c4522b)

Thanks,

Simon

---

<div class="post-metadata">

**Author:** ![josephroberts](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/josephroberts/32/233_2.png) [@josephroberts](https://forums.balena.io/u/josephroberts)\
**Post date:** [March 2, 2017, 6:55pm UTC](https://forums.balena.io/t/resin-wifi-connect-python-error-on-intel-edison/613/2 "2017-03-02T18:55:56Z")

</div>

@simonkemper there are a couple of options:

- Use a node base image and install python instead (if you still need it)
- Swap out the node install code with the intel-edison section from our [base images](https://github.com/resin-io-library/base-images/blob/master/node/edison/debian/default/wheezy/Dockerfile#L6-L13)

I am a little confused as to why you’re pushing the example app to an edison as the Display-O-Tron HAT stuff will be different. If you want to use resin-wifi-connect you should probably just grab the [original application](https://github.com/resin-io/resin-wifi-connect) 😛

Let me know if that helps or if I have misunderstood.

---

<div class="post-metadata">

**Author:** ![simonkemper](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/simonkemper/32/128_2.png) [@simonkemper](https://forums.balena.io/u/simonkemper)\
**Post date:** [March 3, 2017, 8:55am UTC](https://forums.balena.io/t/resin-wifi-connect-python-error-on-intel-edison/613/3 "2017-03-03T08:55:27Z")

</div>

@joe Sure that was total nonsense - I tried to combine two different Dockerfiles since I tried to add Python into a node base image. I remembered that in the `resin-wifi-connect-python` example this was done in the Dockerfile so I tried to copy parts of it.

I now managed it on my own after rewriting the Dockerfile.

---

<div class="post-metadata">

**Author:** ![josephroberts](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/josephroberts/32/233_2.png) [@josephroberts](https://forums.balena.io/u/josephroberts)\
**Post date:** [March 3, 2017, 11:12am UTC](https://forums.balena.io/t/resin-wifi-connect-python-error-on-intel-edison/613/4 "2017-03-03T11:12:07Z")

</div>

Cool, glad you got it sorted.
