SNAP with OpenCV python: No module named 'numpy.core._multiarray_umath'

Hello!

I'm building an arm64 snap with OpenCV library by modifying SDK sample code, but keep getting an import error "No module named 'numpy.core._multiarray_umath'".

I can see the libraries in the snap file (attached screenshot), tried downgrading Numpy version, adding additional dependencies and environment paths, installing virtual environment and building with it. So far couldn't find any working solution.

Any suggestions appreciated!

Best regards,

Alex

Best reply by MauMX2

Just for info for AI and Data analysis libs you can only natively compile. Tham means that you have to compile on an ARM64 device ๐Ÿ™‚

View original
Snap Lib.png
58.02KB
Ctrlx Core Debug.png
148.06KB
Snapcraft_yaml.png
145.71KB
14 replies