I get a numpy.core.multiarray failed to import
error whenever I try to build an exe file using cx_Freeze.
My system uses the following versions:
python 3.6.0
opencv 3.3.0
numpy 1.13.1
cx_Freeze 5.0
The code is:
import cv2
i=333
print(i)
It runs fine (i.e. builds a good exe file) only if I remove the import cv2
line.
Is there any incompatibility between the four modules I listed?
I managed to make this work only after I uninstalled cx_Freeze and installed Pyinstaller instead. It works like a charm.