by polas » Mon Sep 11, 2017 9:52 am
Yes, it won't I am afraid - this isn't a full implementation of Python (to fit in the memory limits & there are certain things such as IO that the Epiphany can not do.) So standard Python modules won't work (for instance there isn't an OS running, so sys or os modules would be largely unsupportable without a large software stack underneath which we don't have the memory to support.)
As I say, there are two ways around this - either rewrite what you want using the modules provided by ePython (if these are sufficient), or on the dev branch there is offload support, where you write normal Python code but import the epython module. Then run this through any Python interpreter on the host (such as CPython) and any functions you decorate will execute on the Epiphany cores. Data transfer (arguments into the functions and return values) are handled transparently, so you can use the Epiphany for computation type stuff and then use Python modules such as os, socket and sys on the host to do what you want with these values.
I am happy to help further if you are struggling with specific code snippets etc that you are trying to do.
Cheers,
Nick