Reputation: 194
I am cross compiling for an embedded device using yocto - so using pip install is not appropriate.
My build works, but keeps defaulting to ucs2 character type, which causes an error: numpy.core.multiarray failed to import.
Upvotes: 1
Views: 657
Reputation: 9011
Caveat, I haven't really tried this...
As far as I can see, building numpy
with ucs4 support means that you have to compile python
with ucs4-support. Thus, you would need to add
EXTRA_OECONF += "--enable-unicode=ucs4"
in a python_xxx.bbappend, depending on which python (2 or 3) and which OE-release you're using.
If you're getting any other issues after this, is unknown...
Upvotes: 1