kivy / kivy-ios

Toolchain for compiling Python / Kivy / other libraries for iOS
https://kivy.org/docs/guide/packaging-ios.html
MIT License
758 stars 238 forks source link

dynamic module does not define module export function (PyInit__multiarray_umath) #822

Closed lin-it closed 1 year ago

lin-it commented 1 year ago

There are no problems when debugging locally, but when using the packaged version, an error occurs when calling numpy.

PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!\n\nImporting the numpy C-extensions failed. This error can happen for\nmany reasons, often due to issues with your setup or how NumPy was\ninstalled.\n\nWe have compiled some common reasons and troubleshooting tips at:\n\n https:\/\/numpy.org\/devdocs\/user\/troubleshooting-importerror.html\n\nPlease note and check the following:\n\n The Python version is: Python3.10 from \"\/private\/var\/containers\/Bundle\/Application\/FD97BB3B-B745-4D20-A554-672AB49304C3\/neteasemusic.app\/neteasemusic\"\n The NumPy version is: \"1.24.2\"\n\nand make sure that they are the versions you expect.\nPlease carefully study the documentation linked above for further help.\n\nOriginal error was: dynamic module does not define module export function (PyInit__multiarray_umath)\n"]

lin-it commented 1 year ago

STRIP_STYLE = ALL Symbols