I am trying to port the mpmath package to MicroPython; the target will be Rasp-Pi-2, but I am
now developing on using the Windows port.
I got a little further than the OP in this post: viewtopic.php?t=3621 but have now hit a roadblock with this error:
Code: Select all
D:/RPi/python> micropython test.py Traceback (most recent call last): File "test.py", line 1, in <module> File "D:/RPi/python/mpmath/__init__.py", line 5, in <module> File "D:/RPi/python/mpmath/ctx_fp.py", line 1, in <module> File "D:/RPi/python/mpmath/ctx_base.py", line 5, in <module> File "D:/RPi/python/mpmath/calculus/__init__.py", line 3, in <module> MemoryError: memory allocation failed, allocating 10736 bytes
I compiled the MicroPython binary from the top of Github sources compiled for Windows 10
(but I get he same error with Robert-HH's binary downloaded from here: https://github.com/robert-hh/Shared-Stuff)