On 4/24/2009 1:47 PM, [email protected] wrote: > Thanks a lot, > > I have created the file you proposed. > Then, when I run the program I get this. > > Traceback (most recent call last): > File "E:\Angel\pyinstaller_svn\iu.py", line 446, in importHook > raise ImportError, "No module named %s" % fqname > ImportError: No module named numpy > Traceback (most recent call last): > File "<string>", line 7, in <module> > File "E:\Angel\pyinstaller_svn\iu.py", line 427, in importHook > mod = _self_doimport(nm, ctx, fqname) > File "E:\Angel\pyinstaller_svn\iu.py", line 512, in doimport > exec co in mod.__dict__ > File "viewer\build\pyi.win32\viewer\outPYZ1.pyz/PyQt4.Qwt5", line > 32, in <module> > File "E:\Angel\pyinstaller_svn\iu.py", line 427, in importHook > mod = _self_doimport(nm, ctx, fqname) > File "E:\Angel\pyinstaller_svn\iu.py", line 486, in doimport > mod = importfunc(nm) > File "E:\Angel\pyinstaller_svn\iu.py", line 292, in getmod > mod = owner.getmod(nm) > File "E:\Angel\pyinstaller_svn\archive.py", line 463, in getmod > return iu.DirOwner.getmod(self, self.prefix+'.'+nm) > File "E:\Angel\pyinstaller_svn\iu.py", line 109, in getmod > mod = imp.load_module(nm, fp, attempt, (ext, mode, typ)) > ImportError: numpy.core.multiarray failed to import > > > > I'm not sure what hook file should I modify / create now.
I've committed a tentative import hook to SVN trunk (commit [649]). Please update and try again. (PS: See also the message about the new hosting because the SVN server has now moved and you must checkout from the new SVN server; the old one will disappear soon and it's not updated anymore). -- Giovanni Bajo Develer S.r.l. http://www.develer.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
