mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Merge pull request #7814 from hugovk/docs-rm-warnings
Remove outdated installation warnings
This commit is contained in:
commit
ee37c63a10
|
@ -504,3 +504,27 @@ PIL.OleFileIO
|
|||
the upstream :pypi:`olefile` Python package, and replaced with an :py:exc:`ImportError` in 5.0.0
|
||||
(2018-01). The deprecated file has now been removed from Pillow. If needed, install from
|
||||
PyPI (eg. ``python3 -m pip install olefile``).
|
||||
|
||||
import _imaging
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
.. versionremoved:: 2.1.0
|
||||
|
||||
Pillow >= 2.1.0 no longer supports ``import _imaging``.
|
||||
Please use ``from PIL.Image import core as _imaging`` instead.
|
||||
|
||||
Pillow and PIL
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
Pillow and PIL cannot co-exist in the same environment.
|
||||
Before installing Pillow, please uninstall PIL.
|
||||
|
||||
.. versionremoved:: 1.0.0
|
||||
|
||||
import Image
|
||||
~~~~~~~~~~~~
|
||||
|
||||
.. versionremoved:: 1.0.0
|
||||
|
||||
Pillow >= 1.0 no longer supports ``import Image``.
|
||||
Please use ``from PIL import Image`` instead.
|
||||
|
|
|
@ -9,15 +9,6 @@ Installation
|
|||
});
|
||||
</script>
|
||||
|
||||
Warnings
|
||||
--------
|
||||
|
||||
.. warning:: Pillow and PIL cannot co-exist in the same environment. Before installing Pillow, please uninstall PIL.
|
||||
|
||||
.. warning:: Pillow >= 1.0 no longer supports ``import Image``. Please use ``from PIL import Image`` instead.
|
||||
|
||||
.. warning:: Pillow >= 2.1.0 no longer supports ``import _imaging``. Please use ``from PIL.Image import core as _imaging`` instead.
|
||||
|
||||
Python Support
|
||||
--------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user