(linux / win)怎样安置Pillow和PIL

时间:2021-11-26 02:50:05

Pillow and PIL cannot co-exist in the same environment. Before installing Pillow, please uninstall PIL. Pillow >= 1.0 no longer supports “import Image”. Please use “from PIL import Image” instead. Pillow >= 2.1.0 no longer supports “import _imaging”. Please use “from PIL.Image import core as _imaging” instead. Pillow < 2.0.0 supports Python versions 2.4, 2.5, 2.6, 2.7. Pillow >= 2.0.0 < 4.0.0 supports Python versions 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 Pillow >= 4.0.0 supports Python versions 2.7, 3.3, 3.4, 3.5, 3.6