I've added "C:/Python27/Lib/site-packages/numpy" to the pathex of my spec file, so the numpy pyd files appear in the dist directory, but the “ImportError: numpy.core.multiarray failed to import” message still appears. Is there something I can edit by hand just to get the executable to recognize that the pyds are in the same directory?
On Oct 3, 1:13 pm, Brian <[email protected]> wrote: > With PyInstaller 1.5, I was using the line > import numpy.core.multiarray > in my source to cause the numpy.core.multiarray.pyd to be copied into > the dist folder for the sake of the OpenCV code that needed it. > > Now, with PyInstaller r1608, numpy.core.multiarray.pyd is still being > copied, but the exception > numpy.core.multiarray failed to import > is being thrown. > > I created hook-numpy.py, with > hiddenimports = ["numpy.core", "numpy.core.multiarray"] > inside, but that failed to do the trick. There is no warnproject.txt > file to be found. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
