On Wednesday, May 2, 2012 12:00:20 AM UTC-7, Lynn wrote: > Using the dev version of pyinstaller from today, the program builds (onefile > mode) and runs on my Win7-64 machine. When a tester loads it on his Win7-64 > machine it fails to load. I sent him a version with debug turned on, and the > problem is ImportError: No module named multiarray. The full output is > below. > > > I'm at a loss as to how to troubleshoot this since it works on my machine. I > know I was getting this error a while back with earlier versions of > pyinstaller, but it has been working for several weeks now. > > > Any thoughts about what the problem might be? > > > > > _MEIPASS2 is NULL > archivename is C:\Users\jabelardo\Desktop\axeomatic.exe > Extracting binaries > Executing self as child with Setting up to run child > Creating child process > Waiting for child process to finish... > _MEIPASS2 is C:/Users/JABELA~1/AppData/Local/Temp/_MEI51122/ > archivename is C:\Users\jabelardo\Desktop\axeomatic.exe > Already in the child - running! > manifestpath: > C:/Users/JABELA~1/AppData/Local/Temp/_MEI51122/axeomatic.exe.manif > est > Activation context created > Activation context activated > C:/Users/JABELA~1/AppData/Local/Temp/_MEI51122/python27.dll > Manipulating evironment > PYTHONPATH=C:/Users/JABELA~1/AppData/Local/Temp/_MEI51122;C:/Users/jabelardo/Des > ktop > PYTHONHOME=C:/Users/JABELA~1/AppData/Local/Temp/_MEI51122/ > importing modules from CArchive > extracted iu > extracted struct > extracted archive > Installing import hooks > out03-PYZ.pyz > Running scripts > Traceback (most recent call last): > File "<string>", line 10, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 386, in importHook > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 480, in doimport > File > "..\aom2-remote\debug\build\pyi.win32\axeomatic\out03-PYZ.pyz\FileConvert > ", line 5, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 386, in importHook > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 480, in doimport > File > "..\aom2-remote\debug\build\pyi.win32\axeomatic\out03-PYZ.pyz\AxeConvert" > , line 8, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 386, in importHook > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 480, in doimport > File > "..\aom2-remote\debug\build\pyi.win32\axeomatic\out03-PYZ.pyz\SysExWave", > line 4, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 386, in importHook > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 480, in doimport > File > "..\aom2-remote\debug\build\pyi.win32\axeomatic\out03-PYZ.pyz\myUtils", l > ine 4, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 386, in importHook > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 480, in doimport > File "..\aom2-remote\debug\build\pyi.win32\axeomatic\out03-PYZ.pyz\numpy", > lin > e 143, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 386, in importHook > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 480, in doimport > File > "..\aom2-remote\debug\build\pyi.win32\axeomatic\out03-PYZ.pyz\numpy.add_n > ewdocs", line 9, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 386, in importHook > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 480, in doimport > File > "..\aom2-remote\debug\build\pyi.win32\axeomatic\out03-PYZ.pyz\numpy.lib", > line 4, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 386, in importHook > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 480, in doimport > File > "..\aom2-remote\debug\build\pyi.win32\axeomatic\out03-PYZ.pyz\numpy.lib.t > ype_check", line 8, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 386, in importHook > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 480, in doimport > File > "..\aom2-remote\debug\build\pyi.win32\axeomatic\out03-PYZ.pyz\numpy.core" > , line 5, in <module> > File "C:\Users\Lynn > Oliver\Documents\Python\pyinstaller\PyInstaller\loader\iu. > py", line 409, in importHook > ImportError: No module named multiarray > RC: -1 from axeomatic > OK. > Deactivating activation context > Releasing activation context > Done > Back to parent... > Freeing status for C:\Users\jabelardo\Desktop\axeomatic.exe
I didn't want to start a new thread because I'm having a similar issue but unrelated to the language-specific stuff below. Using the pyinstaller-2.0, Windows 7, Python 2.7, numpy 1.6.1: I don't receive the 'ImportError: No module named multiarray' on initialization of my GUI but when a multiprocessing method is called. If multiprocessing is deactivated the GUI works perfectly. numpy.core.multiarray.pyd is included in the dist folder as well as all the needed .dll files. The GUI also works perfectly on Mac with and without multiprocessing activated. Any help or ideas with this one would be greatly appreciated! Thanks in advance! -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To view this discussion on the web visit https://groups.google.com/d/msg/pyinstaller/-/4oauDM8BU1gJ. 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.
