(Thanks for the PIL comment, Florian.)
Now a different issue. I am getting warnings like these from pyinstaller-1.5rc1 
on Windows 7:

W: Cannot get binary dependencies for file:
W: C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll
W:Traceback (most recent call last):
  File "C:\Users\dhalbert\Documents\pyinstaller-1.5-rc1\bindepend.py", line 
683, in getImports
    return _getImports_pe_lib_pefile(pth)
  File "C:\Users\dhalbert\Documents\pyinstaller-1.5-rc1\bindepend.py", line 
191, in _getImports_pe_lib_pefile
    for entry in pe.DIRECTORY_ENTRY_IMPORT:
AttributeError: PE instance has no attribute 'DIRECTORY_ENTRY_IMPORT'

Warnings are also given for:

  C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll
  C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll
  C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll
  C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll
  C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll

The warnings seems to be just that: resulting executables run fine.

I can reproduce this with a program that just consists of "import psycopg2". I 
am using the latest psycopg2:
http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.4.win32-py2.6-pg9.0.3-release.exe

(This is on Windows 7 64-bit, but all the Python stuff is 32-bit. I'm using 
Python 2.6.5.)

Dan


-- 
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.

Reply via email to