Installing pillow on windows fails to find libjpeg

空扰寡人 提交于 2019-12-23 04:26:58

问题


Sys: Windows 7 Prof; Python v3.3

I've tried to use:

  • 'easy_install Pillow'
  • 'pip install use-wheel Pillow'
  • Download package manually and 'python setup.py install'

but all the time i cant install any extensions:

*** TKINTER support not available
(Tcl/Tk 8.5 libraries needed)
*** JPEG not support available
*** ZLIB (PNG/ZIP) support not available
*** TIFF G3/G4 (experimental) support not available
*** FREETYPE2 support not available
*** LITTLECMS support not available
*** WEBP support not available

I've manually installed libjpeg but still the results were the same. I've alsot tried to change JPEG_ROOT path to point it somehow to the correct dll but it did not work too.

Any idea how to solve this?


回答1:


try python extension packages for windows: http://www.lfd.uci.edu/~gohlke/pythonlibs/

There are 32- and 64-bit Windows binaries you can simply install



来源:https://stackoverflow.com/questions/20672530/installing-pillow-on-windows-fails-to-find-libjpeg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!