【问题】
在:
【记录】下载和安装Python的第三方图像处理的库:PIL(Python Imaging Library)
的过程中,下载好了PIL-1.1.7.win32-py2.7.exe,去安装,结果出错:
Python version 2.7 required, which was not found in the registry
其中当前系统环境是:
win7 x64
Python 2.7
【解决过程】
1. 估计是由于,我当前的Python是64位的:
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32
所导致的此错误。
2.那就只有去试试,从源码去编译再安装了。
从
http://effbot.org/downloads/#pil
找到:
PIL-1.1.7.tar.gz [506k]
下载下来,解压,得到目录PIL-1.1.7
3.打开cmd,切换到对应目录去执行安装:
D:\tmp\dev_tools\python\PIL\PIL-1.1.7>setup.py install running install running build running build_py creating build creating build\lib.win-amd64-2.7 copying PIL\ArgImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\BdfFontFile.py -> build\lib.win-amd64-2.7 copying PIL\BmpImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\BufrStubImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\ContainerIO.py -> build\lib.win-amd64-2.7 copying PIL\CurImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\DcxImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\EpsImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\ExifTags.py -> build\lib.win-amd64-2.7 copying PIL\FitsStubImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\FliImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\FontFile.py -> build\lib.win-amd64-2.7 copying PIL\FpxImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\GbrImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\GdImageFile.py -> build\lib.win-amd64-2.7 copying PIL\GifImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\GimpGradientFile.py -> build\lib.win-amd64-2.7 copying PIL\GimpPaletteFile.py -> build\lib.win-amd64-2.7 copying PIL\GribStubImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\Hdf5StubImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\IcnsImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\IcoImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\Image.py -> build\lib.win-amd64-2.7 copying PIL\ImageChops.py -> build\lib.win-amd64-2.7 copying PIL\ImageCms.py -> build\lib.win-amd64-2.7 copying PIL\ImageColor.py -> build\lib.win-amd64-2.7 copying PIL\ImageDraw.py -> build\lib.win-amd64-2.7 copying PIL\ImageDraw2.py -> build\lib.win-amd64-2.7 copying PIL\ImageEnhance.py -> build\lib.win-amd64-2.7 copying PIL\ImageFile.py -> build\lib.win-amd64-2.7 copying PIL\ImageFileIO.py -> build\lib.win-amd64-2.7 copying PIL\ImageFilter.py -> build\lib.win-amd64-2.7 copying PIL\ImageFont.py -> build\lib.win-amd64-2.7 copying PIL\ImageGL.py -> build\lib.win-amd64-2.7 copying PIL\ImageGrab.py -> build\lib.win-amd64-2.7 copying PIL\ImageMath.py -> build\lib.win-amd64-2.7 copying PIL\ImageMode.py -> build\lib.win-amd64-2.7 copying PIL\ImageOps.py -> build\lib.win-amd64-2.7 copying PIL\ImagePalette.py -> build\lib.win-amd64-2.7 copying PIL\ImagePath.py -> build\lib.win-amd64-2.7 copying PIL\ImageQt.py -> build\lib.win-amd64-2.7 copying PIL\ImageSequence.py -> build\lib.win-amd64-2.7 copying PIL\ImageShow.py -> build\lib.win-amd64-2.7 copying PIL\ImageStat.py -> build\lib.win-amd64-2.7 copying PIL\ImageTk.py -> build\lib.win-amd64-2.7 copying PIL\ImageTransform.py -> build\lib.win-amd64-2.7 copying PIL\ImageWin.py -> build\lib.win-amd64-2.7 copying PIL\ImImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\ImtImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\IptcImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\JpegImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\McIdasImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\MicImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\MpegImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\MspImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\OleFileIO.py -> build\lib.win-amd64-2.7 copying PIL\PaletteFile.py -> build\lib.win-amd64-2.7 copying PIL\PalmImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\PcdImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\PcfFontFile.py -> build\lib.win-amd64-2.7 copying PIL\PcxImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\PdfImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\PixarImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\PngImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\PpmImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\PsdImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\PSDraw.py -> build\lib.win-amd64-2.7 copying PIL\SgiImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\SpiderImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\SunImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\TarIO.py -> build\lib.win-amd64-2.7 copying PIL\TgaImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\TiffImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\TiffTags.py -> build\lib.win-amd64-2.7 copying PIL\WalImageFile.py -> build\lib.win-amd64-2.7 copying PIL\WmfImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\XbmImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\XpmImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\XVThumbImagePlugin.py -> build\lib.win-amd64-2.7 copying PIL\__init__.py -> build\lib.win-amd64-2.7 running build_ext building '_imaging' extension error: Unable to find vcvarsall.bat D:\tmp\dev_tools\python\PIL\PIL-1.1.7>
正如所料的,出现了error: Unable to find vcvarsall.bat
4.参考之前就折腾过的:
【已解决】安装Python模块mmseg出错:error: Unable to find vcvarsall.bat
先去设置一下,再编译,就可以了:
D:\tmp\dev_tools\python\PIL\PIL-1.1.7>SET VS90COMNTOOLS=%VS100COMNTOOLS% D:\tmp\dev_tools\python\PIL\PIL-1.1.7>setup.py install ... ... ... C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Bands.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Bands.obj Bands.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\BitDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\BitDecode.obj BitDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Blend.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Blend.obj Blend.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Chops.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Chops.obj Chops.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Convert.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Convert.obj Convert.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\ConvertYCbCr.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\ConvertYCbCr.obj ConvertYCbCr.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Copy.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Copy.obj Copy.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Crc32.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Crc32.obj Crc32.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Crop.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Crop.obj Crop.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Dib.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Dib.obj Dib.c libImaging\Dib.c(88) : warning C4267: '=' : conversion from 'size_t' to 'WORD', possible loss of data libImaging\Dib.c(111) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Draw.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Draw.obj Draw.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Effects.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Effects.obj Effects.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\EpsEncode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\EpsEncode.obj EpsEncode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\File.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\File.obj File.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Fill.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Fill.obj Fill.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Filter.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Filter.obj Filter.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\FliDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\FliDecode.obj FliDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Geometry.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Geometry.obj Geometry.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\GetBBox.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\GetBBox.obj GetBBox.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\GifDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\GifDecode.obj GifDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\GifEncode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\GifEncode.obj GifEncode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\HexDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\HexDecode.obj HexDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Histo.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Histo.obj Histo.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\JpegDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\JpegDecode.obj JpegDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\JpegEncode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\JpegEncode.obj JpegEncode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\LzwDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\LzwDecode.obj LzwDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Matrix.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Matrix.obj Matrix.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\ModeFilter.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\ModeFilter.obj ModeFilter.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\MspDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\MspDecode.obj MspDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Negative.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Negative.obj Negative.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Offset.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Offset.obj Offset.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Pack.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Pack.obj Pack.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\PackDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\PackDecode.obj PackDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Palette.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Palette.obj Palette.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Paste.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Paste.obj Paste.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Quant.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Quant.obj Quant.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\QuantHash.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\QuantHash.obj QuantHash.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\QuantHeap.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\QuantHeap.obj QuantHeap.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\PcdDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\PcdDecode.obj PcdDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\PcxDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\PcxDecode.obj PcxDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\PcxEncode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\PcxEncode.obj PcxEncode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Point.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Point.obj Point.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\RankFilter.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\RankFilter.obj RankFilter.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\RawDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\RawDecode.obj RawDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\RawEncode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\RawEncode.obj RawEncode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Storage.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Storage.obj Storage.c libImaging\Storage.c(370) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\SunRleDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\SunRleDecode.obj SunRleDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\TgaRleDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\TgaRleDecode.obj TgaRleDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\Unpack.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\Unpack.obj Unpack.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\UnpackYCC.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\UnpackYCC.obj UnpackYCC.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\UnsharpMask.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\UnsharpMask.obj UnsharpMask.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\XbmDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\XbmDecode.obj XbmDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\XbmEncode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\XbmEncode.obj XbmEncode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\ZipDecode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\ZipDecode.obj ZipDecode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /TclibImaging\ZipEncode.c /Fobuild\temp.win-amd64-2.7\Release\libImaging\ZipEncode.obj ZipEncode.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:D:\tmp\dev_install_root\Python27_x64\lib /LIBPATH:D:\tmp\dev_install_root\Python27_x64\l ibs /LIBPATH:D:\tmp\dev_install_root\Python27_x64\PCbuild\amd64 kernel32.lib user32.lib gdi32.lib /EXPORT:init_imaging build\temp.win-amd64-2.7\Release\_imaging.obj build\temp.win-amd64-2.7\Release\de code.obj build\temp.win-amd64-2.7\Release\encode.obj build\temp.win-amd64-2.7\Release\map.obj build\temp.win-amd64-2.7\Release\display.obj build\temp.win-amd64-2.7\Release\outline.obj build\temp.win-a md64-2.7\Release\path.obj build\temp.win-amd64-2.7\Release\libImaging\Access.obj build\temp.win-amd64-2.7\Release\libImaging\Antialias.obj build\temp.win-amd64-2.7\Release\libImaging\Bands.obj build\t emp.win-amd64-2.7\Release\libImaging\BitDecode.obj build\temp.win-amd64-2.7\Release\libImaging\Blend.obj build\temp.win-amd64-2.7\Release\libImaging\Chops.obj build\temp.win-amd64-2.7\Release\libImagi ng\Convert.obj build\temp.win-amd64-2.7\Release\libImaging\ConvertYCbCr.obj build\temp.win-amd64-2.7\Release\libImaging\Copy.obj build\temp.win-amd64-2.7\Release\libImaging\Crc32.obj build\temp.win-am d64-2.7\Release\libImaging\Crop.obj build\temp.win-amd64-2.7\Release\libImaging\Dib.obj build\temp.win-amd64-2.7\Release\libImaging\Draw.obj build\temp.win-amd64-2.7\Release\libImaging\Effects.obj bui ld\temp.win-amd64-2.7\Release\libImaging\EpsEncode.obj build\temp.win-amd64-2.7\Release\libImaging\File.obj build\temp.win-amd64-2.7\Release\libImaging\Fill.obj build\temp.win-amd64-2.7\Release\libIma ging\Filter.obj build\temp.win-amd64-2.7\Release\libImaging\FliDecode.obj build\temp.win-amd64-2.7\Release\libImaging\Geometry.obj build\temp.win-amd64-2.7\Release\libImaging\GetBBox.obj build\temp.wi n-amd64-2.7\Release\libImaging\GifDecode.obj build\temp.win-amd64-2.7\Release\libImaging\GifEncode.obj build\temp.win-amd64-2.7\Release\libImaging\HexDecode.obj build\temp.win-amd64-2.7\Release\libIma ging\Histo.obj build\temp.win-amd64-2.7\Release\libImaging\JpegDecode.obj build\temp.win-amd64-2.7\Release\libImaging\JpegEncode.obj build\temp.win-amd64-2.7\Release\libImaging\LzwDecode.obj build\tem p.win-amd64-2.7\Release\libImaging\Matrix.obj build\temp.win-amd64-2.7\Release\libImaging\ModeFilter.obj build\temp.win-amd64-2.7\Release\libImaging\MspDecode.obj build\temp.win-amd64-2.7\Release\libI maging\Negative.obj build\temp.win-amd64-2.7\Release\libImaging\Offset.obj build\temp.win-amd64-2.7\Release\libImaging\Pack.obj build\temp.win-amd64-2.7\Release\libImaging\PackDecode.obj build\temp.wi n-amd64-2.7\Release\libImaging\Palette.obj build\temp.win-amd64-2.7\Release\libImaging\Paste.obj build\temp.win-amd64-2.7\Release\libImaging\Quant.obj build\temp.win-amd64-2.7\Release\libImaging\Quant Hash.obj build\temp.win-amd64-2.7\Release\libImaging\QuantHeap.obj build\temp.win-amd64-2.7\Release\libImaging\PcdDecode.obj build\temp.win-amd64-2.7\Release\libImaging\PcxDecode.obj build\temp.win-am d64-2.7\Release\libImaging\PcxEncode.obj build\temp.win-amd64-2.7\Release\libImaging\Point.obj build\temp.win-amd64-2.7\Release\libImaging\RankFilter.obj build\temp.win-amd64-2.7\Release\libImaging\Ra wDecode.obj build\temp.win-amd64-2.7\Release\libImaging\RawEncode.obj build\temp.win-amd64-2.7\Release\libImaging\Storage.obj build\temp.win-amd64-2.7\Release\libImaging\SunRleDecode.obj build\temp.wi n-amd64-2.7\Release\libImaging\TgaRleDecode.obj build\temp.win-amd64-2.7\Release\libImaging\Unpack.obj build\temp.win-amd64-2.7\Release\libImaging\UnpackYCC.obj build\temp.win-amd64-2.7\Release\libIma ging\UnsharpMask.obj build\temp.win-amd64-2.7\Release\libImaging\XbmDecode.obj build\temp.win-amd64-2.7\Release\libImaging\XbmEncode.obj build\temp.win-amd64-2.7\Release\libImaging\ZipDecode.obj build \temp.win-amd64-2.7\Release\libImaging\ZipEncode.obj /OUT:build\lib.win-amd64-2.7\_imaging.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\_imaging.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\_ima ging.pyd.manifest _imaging.obj : warning LNK4197: export 'init_imaging' specified multiple times; using first specification Creating library build\temp.win-amd64-2.7\Release\_imaging.lib and object build\temp.win-amd64-2.7\Release\_imaging.exp building '_imagingmath' extension C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IlibImaging -ID:\tmp\dev_install_root\Python27_x64\include -ID:\tmp\dev_install_root\Pytho n27_x64\include -ID:\tmp\dev_install_root\Python27_x64\PC /Tc_imagingmath.c /Fobuild\temp.win-amd64-2.7\Release\_imagingmath.obj _imagingmath.c C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:D:\tmp\dev_install_root\Python27_x64\lib /LIBPATH:D:\tmp\dev_install_root\Python27_x64\l ibs /LIBPATH:D:\tmp\dev_install_root\Python27_x64\PCbuild\amd64 /EXPORT:init_imagingmath build\temp.win-amd64-2.7\Release\_imagingmath.obj /OUT:build\lib.win-amd64-2.7\_imagingmath.pyd /IMPLIB:build\t emp.win-amd64-2.7\Release\_imagingmath.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\_imagingmath.pyd.manifest _imagingmath.obj : warning LNK4197: export 'init_imagingmath' specified multiple times; using first specification Creating library build\temp.win-amd64-2.7\Release\_imagingmath.lib and object build\temp.win-amd64-2.7\Release\_imagingmath.exp -------------------------------------------------------------------- PIL 1.1.7 SETUP SUMMARY -------------------------------------------------------------------- version 1.1.7 platform win32 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] -------------------------------------------------------------------- *** TKINTER support not available (Tcl/Tk 8.5 libraries needed) *** JPEG support not available *** ZLIB (PNG/ZIP) support not available *** FREETYPE2 support not available *** LITTLECMS support not available -------------------------------------------------------------------- To add a missing option, make sure you have the required library, and set the corresponding ROOT variable in the setup.py script. To check the build, run the selftest.py script. running build_scripts creating build\scripts-2.7 copying and adjusting Scripts\pilconvert.py -> build\scripts-2.7 copying and adjusting Scripts\pildriver.py -> build\scripts-2.7 copying and adjusting Scripts\pilfile.py -> build\scripts-2.7 copying Scripts\pilfont.py -> build\scripts-2.7 copying and adjusting Scripts\pilprint.py -> build\scripts-2.7 running install_lib creating D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ArgImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\BdfFontFile.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\BmpImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\BufrStubImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ContainerIO.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\CurImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\DcxImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\EpsImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ExifTags.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\FitsStubImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\FliImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\FontFile.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\FpxImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\GbrImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\GdImageFile.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\GifImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\GimpGradientFile.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\GimpPaletteFile.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\GribStubImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\Hdf5StubImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\IcnsImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\IcoImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\Image.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageChops.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageCms.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageColor.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageDraw.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageDraw2.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageEnhance.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageFile.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageFileIO.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageFilter.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageFont.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageGL.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageGrab.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageMath.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageMode.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageOps.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImagePalette.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImagePath.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageQt.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageSequence.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageShow.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageStat.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageTk.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageTransform.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImageWin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\ImtImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\IptcImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\JpegImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\McIdasImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\MicImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\MpegImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\MspImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\OleFileIO.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PaletteFile.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PalmImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PcdImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PcfFontFile.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PcxImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PdfImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PixarImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PngImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PpmImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PsdImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\PSDraw.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\SgiImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\SpiderImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\SunImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\TarIO.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\TgaImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\TiffImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\TiffTags.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\WalImageFile.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\WmfImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\XbmImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\XpmImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\XVThumbImagePlugin.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\_imaging.pyd -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\_imagingmath.pyd -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL copying build\lib.win-amd64-2.7\__init__.py -> D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ArgImagePlugin.py to ArgImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\BdfFontFile.py to BdfFontFile.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\BmpImagePlugin.py to BmpImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\BufrStubImagePlugin.py to BufrStubImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ContainerIO.py to ContainerIO.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\CurImagePlugin.py to CurImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\DcxImagePlugin.py to DcxImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\EpsImagePlugin.py to EpsImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ExifTags.py to ExifTags.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\FitsStubImagePlugin.py to FitsStubImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\FliImagePlugin.py to FliImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\FontFile.py to FontFile.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\FpxImagePlugin.py to FpxImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\GbrImagePlugin.py to GbrImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\GdImageFile.py to GdImageFile.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\GifImagePlugin.py to GifImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\GimpGradientFile.py to GimpGradientFile.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\GimpPaletteFile.py to GimpPaletteFile.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\GribStubImagePlugin.py to GribStubImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\Hdf5StubImagePlugin.py to Hdf5StubImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\IcnsImagePlugin.py to IcnsImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\IcoImagePlugin.py to IcoImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\Image.py to Image.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageChops.py to ImageChops.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageCms.py to ImageCms.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageColor.py to ImageColor.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageDraw.py to ImageDraw.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageDraw2.py to ImageDraw2.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageEnhance.py to ImageEnhance.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageFile.py to ImageFile.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageFileIO.py to ImageFileIO.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageFilter.py to ImageFilter.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageFont.py to ImageFont.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageGL.py to ImageGL.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageGrab.py to ImageGrab.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageMath.py to ImageMath.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageMode.py to ImageMode.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageOps.py to ImageOps.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImagePalette.py to ImagePalette.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImagePath.py to ImagePath.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageQt.py to ImageQt.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageSequence.py to ImageSequence.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageShow.py to ImageShow.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageStat.py to ImageStat.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageTk.py to ImageTk.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageTransform.py to ImageTransform.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImageWin.py to ImageWin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImImagePlugin.py to ImImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\ImtImagePlugin.py to ImtImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\IptcImagePlugin.py to IptcImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\JpegImagePlugin.py to JpegImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\McIdasImagePlugin.py to McIdasImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\MicImagePlugin.py to MicImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\MpegImagePlugin.py to MpegImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\MspImagePlugin.py to MspImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\OleFileIO.py to OleFileIO.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PaletteFile.py to PaletteFile.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PalmImagePlugin.py to PalmImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PcdImagePlugin.py to PcdImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PcfFontFile.py to PcfFontFile.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PcxImagePlugin.py to PcxImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PdfImagePlugin.py to PdfImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PixarImagePlugin.py to PixarImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PngImagePlugin.py to PngImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PpmImagePlugin.py to PpmImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PsdImagePlugin.py to PsdImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PSDraw.py to PSDraw.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\SgiImagePlugin.py to SgiImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\SpiderImagePlugin.py to SpiderImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\SunImagePlugin.py to SunImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\TarIO.py to TarIO.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\TgaImagePlugin.py to TgaImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\TiffImagePlugin.py to TiffImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\TiffTags.py to TiffTags.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\WalImageFile.py to WalImageFile.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\WmfImagePlugin.py to WmfImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\XbmImagePlugin.py to XbmImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\XpmImagePlugin.py to XpmImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\XVThumbImagePlugin.py to XVThumbImagePlugin.pyc byte-compiling D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\__init__.py to __init__.pyc running install_scripts copying build\scripts-2.7\pilconvert.py -> D:\tmp\dev_install_root\Python27_x64\Scripts copying build\scripts-2.7\pildriver.py -> D:\tmp\dev_install_root\Python27_x64\Scripts copying build\scripts-2.7\pilfile.py -> D:\tmp\dev_install_root\Python27_x64\Scripts copying build\scripts-2.7\pilfont.py -> D:\tmp\dev_install_root\Python27_x64\Scripts copying build\scripts-2.7\pilprint.py -> D:\tmp\dev_install_root\Python27_x64\Scripts running install_egg_info Writing D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL\PIL-1.1.7-py2.7.egg-info creating D:\tmp\dev_install_root\Python27_x64\Lib\site-packages\PIL.pth D:\tmp\dev_tools\python\PIL\PIL-1.1.7>
【总结】
PIL官网的exe,只是针对32位的,我这里64位的win7,无法正常安装。
可以通过源码去安装。
其中需要自己编译并安装。
如果是已经安装了VS2010,则可以通过先配置环境变量,再安装:
SET VS90COMNTOOLS=%VS100COMNTOOLS% setup.py install
就可以自动编译并安装了。
转载请注明:在路上 » 【已解决】Python中通过PIL-1.1.7.win32-py2.7.exe安装PIL结果出错:Python version 2.7 required, which was not found in the registry