PIL + McMillan Installer
Harald Schneider
h_schneider at marketmix.com
Wed Apr 10 09:41:19 EDT 2002
Hi,
I use Activestate Python 2.1 and McMillan Installer 5.
A script that uses PIL runs fine. But the one-file-distribution seems to
have a problem
with Image.open()
----
img = Image.open(File)
File "C:\usr\python\PIL\Image.py", line 902, in open
raise IOError, "cannot identify image file"
IOError: cannot identify image file
----
The .spec file has following settings:
---
a = Analysis(['C:\\usr\\python\\Installer\\support\\useUnicode.py',
'C:\\WORK\\Software\\Python\\test\\test.py'],
pathex=['..\\lib','c:\\usr\python\pil'])
pyz = PYZ(a.pure)
exe = EXE( pyz,
a.scripts,
a.binaries,
name=test.exe',
debug=0,
console=1,
icon='myicon.ico')
---
Any ideas?
Thanks a lot,
Harald Schneider
More information about the Python-list
mailing list