Looked at this a bit more. 1. Tried running the program on a clean install of windows (no multiarray files) and it works fine. 2. Built in onedir mode and confirmed that numpy.core.multiarray.so is included. 3. Ran ArchiveViewer on onefile mode and confirmed that numpy.core.multiarray.so is included.
What I'm left with is that on one machine I get the import error. It happens that the machine is configured for German language, but I don't know why that would be relevant. Any suggestions? -Lynn Begin forwarded message: > From: Lynn Oliver <[email protected]> > Subject: ImportError: No module named multiarray > Date: May 2, 2012 12:00:20 AM PDT > To: [email protected] > > 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 > -- 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.
