python pil read tif file error -OSError: decoder tiff_lzw not available

Problem Description:

  Tif image read by the python PIL given time;

  Tip error: OSError: decoder tiff_lzw not available

  pillow Version: 5.0.0

Problem Solution:

  Replacement version of the pillow;

  After testing, the 3.4.2 version ok

  Command line: conda install pillow = 3.4.2

Guess you like

Origin www.cnblogs.com/dongzhiwu/p/11284839.html