How can I install NumPy?

Long story short, I have an ODROID M2 with CoreELEC, and Home Assistant running alongside it in a Docker.

This works great, and has really amped the utility of the device.

However, I’ve come to the point where I want to run some custom Python scripts to manage integrations and automations in Home Assistant, and one in particular requires numpy=1.16… which isn’t available in CoreELEC, and I can’t just install it, as there’s no package manager.

This leads me to my main question: Is there a way to get NumPy installed and working, while still using CoreELEC, but without having a package manager?

You have entware. I don’t know whether it has NumPy or not. In worst case, set up a new docker container and install NumPy in it.

Well, I use pyserial. It was pretty easy to set up. I created a directory called “serial” in storage and copied the pyserial python code there. Then, i just import it in my scripts. e.g.,:
import time, serial, urllib

Might work with NumPy.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.