On Tuesday, December 06, 2011 09:53:56 AM Hartmut Goebel wrote: > Am 05.12.2011 12:09, schrieb Sebastian Hilbert: > > When setting the debug flag in pyinstaller I noticed that it is now > > required to install pywin32. I downloaded and installed the > > corresponding version for python 2.7 from sf.net. > > Do you mean: pywi32 is required when setting the debug option, but is > not required when not setting ths option? Or do you mean: your program > now requires pywin32, which you discovered when you build your app with > the debug flag set? > when I tried to run pyinstaller with the spec file I was greeted with a message that python 2.6+ now needs pywin32. So I thought it was a build requirement introduced by pyinstaller when building python2.6+ apps ?
When I installed pywin32 the exe was produced just fine. > > Can anyone point me in the right direction ? > > Please check the FAQ at > http://www.pyinstaller.org/wiki/FAQ#IfThingsGoWrong. if you not did > already. > > > The spec file looks like this. > > I suggest creating a fresh .spec file using Makespec and try again. I will do that. However the spec file seems to work just fine in the sense that it actually creates the exe. The exe just does not run. That was the time when I turned on debug and found out that it cannot import the pywin32 stuff from the frozen app. So I tried to check if pywin32 was included in the frozen app. Some parts of pywin32 seem to be included in the frozen app but I cannot see any reference to win32api in the frozen app. That means I am not exactly sure what to look for with ArchiveViewer when trying to find out if win32api is packaged or not. I can see win32api.py in the directory where the exe is created. So that made me think if is detected and available. No idea why it is complaining about not being able to import. Does the fact that the win32api.pyd gets copied to the output directory mean anything ? Do I need to see a reference to it in outPYZ1.pyz when looking at it with ArchiveViewer ? Regards, Sebastian Hilbert -- 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.
