Is it possible to run numpy with micropython ?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
yang8621
Posts: 4
Joined: Mon Jul 20, 2020 8:45 am

Is it possible to run numpy with micropython ?

Post by yang8621 » Wed Jul 29, 2020 4:51 am

NumPy consists of C and Python.
For Python part, it imports some modules that micropython does not fully support.
For C part, NumPy depends on CPython3.6+. It includes CPython header "Python.h".

Regardless of RAM limitation, is it possible to put numpy to micropython?

https://numpy.org/doc/stable/user/building.html
https://github.com/numpy/numpy

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Is it possible to run numpy with micropython ?

Post by pythoncoder » Wed Jul 29, 2020 5:10 am

No. But there is this very capable micro implementation.
Peter Hinch
Index to my micropython libraries.

Post Reply