[Image-SIG] problems with PIL 1.1.6 installation
Ryan Krauss
ryanlists at gmail.com
Tue Oct 21 21:26:32 CEST 2008
I am having trouble getting PIL 1.1.6 installed in windows. The installer
shows a cmd window for a split second and dies without giving me any
information. I messed around with the script about registering Python.
Python is registered, but the script doesn't think so because the keys don't
match exactly (trialing backslashes and so on or a different order for the
elements of PythonPath).
I tried installing from the source tarball but I get this message:
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
Trying to pass the -c mingw32 flag leads to the following:
C:\ryan\DOWNLO~1\Imaging-1.1.6>python setup.py install -c mingw32
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'mingw32'
C:\ryan\DOWNLO~1\Imaging-1.1.6>python setup.py install "-c mingw32"
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option -m not recognized
C:\ryan\DOWNLO~1\Imaging-1.1.6>python setup.py -c mingw32 install
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option -c not recognized
C:\ryan\DOWNLO~1\Imaging-1.1.6>python setup.py "-c mingw32" install
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option -c not recognized
How do I either get the exe to run or get the install from source to work
with mingw32?
Thanks,
Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20081021/70398e5a/attachment.htm>
More information about the Image-SIG
mailing list