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).<br>
<br>
I tried installing from the source tarball but I get this message:<br>
<br>
error: Python was built with Visual Studio 2003;<br>
extensions must be built with a compiler than can generate compatible binaries.<br>
Visual Studio 2003 was not found on this system. If you have Cygwin installed,<br>
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.<br>
<br>
<br>
Trying to pass the -c mingw32 flag leads to the following:<br>
<br>
C:\ryan\DOWNLO~1\Imaging-1.1.6>python setup.py install -c mingw32<br>
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]<br>
or: setup.py --help [cmd1 cmd2 ...]<br>
or: setup.py --help-commands<br>
or: setup.py cmd --help<br>
<br>
error: invalid command 'mingw32'<br>
<br>
C:\ryan\DOWNLO~1\Imaging-1.1.6>python setup.py install "-c mingw32"<br>
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]<br>
or: setup.py --help [cmd1 cmd2 ...]<br>
or: setup.py --help-commands<br>
or: setup.py cmd --help<br>
<br>
error: option -m not recognized<br>
<br>
C:\ryan\DOWNLO~1\Imaging-1.1.6>python setup.py -c mingw32 install<br>
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]<br>
or: setup.py --help [cmd1 cmd2 ...]<br>
or: setup.py --help-commands<br>
or: setup.py cmd --help<br>
<br>
error: option -c not recognized<br>
<br>
C:\ryan\DOWNLO~1\Imaging-1.1.6>python setup.py "-c mingw32" install<br>
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]<br>
or: setup.py --help [cmd1 cmd2 ...]<br>
or: setup.py --help-commands<br>
or: setup.py cmd --help<br>
<br>
error: option -c not recognized<br>
<br>
<br>
How do I either get the exe to run or get the install from source to work with mingw32?<br>
<br>
Thanks, <br>
<br>
Ryan<br>