[Image-SIG] problems with PIL 1.1.6 installation

Florian Höch lists+Image_SIG at hoech.org
Wed Oct 22 15:28:35 CEST 2008


Hello,

the cmd window is curious. The installer should be a GUI application. 
Maybe the exe is broken. Did you try re-downloading?

Regards,

Florian

Ryan Krauss schrieb:
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig


More information about the Image-SIG mailing list