File tree Expand file tree Collapse file tree 2 files changed +24
-9
lines changed
Expand file tree Collapse file tree 2 files changed +24
-9
lines changed Original file line number Diff line number Diff line change @@ -504,3 +504,27 @@ PIL.OleFileIO
504504the upstream :pypi: `olefile ` Python package, and replaced with an :py:exc: `ImportError ` in 5.0.0
505505(2018-01). The deprecated file has now been removed from Pillow. If needed, install from
506506PyPI (eg. ``python3 -m pip install olefile ``).
507+
508+ import _imaging
509+ ~~~~~~~~~~~~~~~
510+
511+ .. versionremoved :: 2.1.0
512+
513+ Pillow >= 2.1.0 no longer supports ``import _imaging ``.
514+ Please use ``from PIL.Image import core as _imaging `` instead.
515+
516+ Pillow and PIL
517+ ~~~~~~~~~~~~~~
518+
519+ Pillow and PIL cannot co-exist in the same environment.
520+ Before installing Pillow, please uninstall PIL.
521+
522+ .. versionremoved :: 1.0.0
523+
524+ import Image
525+ ~~~~~~~~~~~~
526+
527+ .. versionremoved :: 1.0.0
528+
529+ Pillow >= 1.0 no longer supports ``import Image ``.
530+ Please use ``from PIL import Image `` instead.
Original file line number Diff line number Diff line change @@ -9,15 +9,6 @@ Installation
99 });
1010 </script >
1111
12- Warnings
13- --------
14-
15- .. warning :: Pillow and PIL cannot co-exist in the same environment. Before installing Pillow, please uninstall PIL.
16-
17- .. warning :: Pillow >= 1.0 no longer supports ``import Image``. Please use ``from PIL import Image`` instead.
18-
19- .. warning :: Pillow >= 2.1.0 no longer supports ``import _imaging``. Please use ``from PIL.Image import core as _imaging`` instead.
20-
2112Python Support
2213--------------
2314
You can’t perform that action at this time.
0 commit comments