Skip to content

Commit f11ff46

Browse files
committed
Move outdated installation warnings to 'Deprecations and removals'
1 parent 531b1e1 commit f11ff46

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

docs/deprecations.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,3 +504,27 @@ PIL.OleFileIO
504504
the 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
506506
PyPI (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.

0 commit comments

Comments
 (0)