Код: Выделить всё
RequiredDependencyException: zlib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 2, in
File "
", line 34, in
File "C:\Users\babic\AppData\Local\Temp\pip-install-w9fq41js\pillow_fa46dd3e9ace49e494ddbe12da2bf332\setup.py", line 903, in
raise RequiredDependencyException(msg)
RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for Pillow
Running setup.py clean for Pillow
Failed to build Pillow
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (Pillow)
Код: Выделить всё
pip install mmaction
pip install --upgrade pip
pip install --upgrade Pillow
python -m pip install --upgrade pip
python -m pip install --upgrade pillow
python -m pip install --upgrade pip setuptools wheel
pip install Pillow # was installed successfully
Спасибо.
Подробнее здесь: https://stackoverflow.com/questions/791 ... for-pillow