Application quit abnormally! ImportError: Unable to import required dependencies: numpy

50 views
Skip to first unread message

Jean-Sebastien Provost

unread,
Jul 12, 2020, 2:32:45 PM7/12/20
to Kivy users support
Dear Experts,

I was able to build my app successfully through Xcode, but unfortunately, it crashed immediately reporting the error (see below).
Interestingly, I'm supposedly running a virtual environment with Python 3.7.3 with numpy 1.19. I'm not sure why the log is mentioning Python 3.8. In a previous step, I did build python3 using the following command:

> sudo toolchain build python3 openssl kivy

Is that why it fails to display the app via the Simulator? Any ideas on how to solve this issue?
Thanks,

##########################
ImportError: Unable to import required dependencies:
 numpy:
 
 IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
 
 Importing the numpy C-extensions failed. This error can happen for
 many reasons, often due to issues with your setup or how NumPy was
 installed.
 
 We have compiled some common reasons and troubleshooting tips at:
 
     https://numpy.org/devdocs/user/troubleshooting-importerror.html
 
 Please note and check the following:
 
   * The Python version is: Python3.8 from "/Users/jean-sebastienprovost/Library/Developer/CoreSimulator/Devices/BAD916CC-8D08-4467-B9F6-83F9F79E5287/data/Containers/Bundle/Application/E9380144-680F-423B-98D5-39988FF80B9F/ds_interviewapp.app/ds_interviewapp"
   * The NumPy version is: "1.19.0"
 
 and make sure that they are the versions you expect.
 Please carefully study the documentation linked above for further help.
 
 Original error was: dynamic module does not define module export function (PyInit__multiarray_umath)
 
2020-07-12 13:39:23.465596-0400 ds_interviewapp[85939:4647264] Application quit abnormally!
2020-07-12 13:39:23.495854-0400 ds_interviewapp[85939:4647264] Leaving

Reply all
Reply to author
Forward
0 new messages