Skip to content

Ошибка с зависимостями. Необходима другая версия Pillow #9

@wezbicka

Description

@wezbicka

Ошибка при выполнении команды

pip install -r requirements.txt
Installing collected packages: Pillow, folium, Django
    Running setup.py install for Pillow ... error
    ERROR: Command errored out with exit status 1:
     command: 'D:\GIT HUB\pokemon_map\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Polina\\AppData\\Local\\Temp\\pip-install-kuztjebj\\pillow_526fb9760e154c06ba91966e641914b9\\setup.py'"'"'; __file__='"'"'C:\\Users\\Polina\\AppData\\Local\\Temp\\pip-install-kuztjebj\\pillow_526fb9760e154c06ba91966e641914b9\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Polina\AppData\Local\Temp\pip-record-54ipp0ua\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\GIT HUB\pokemon_map\venv\include\site\python3.10\Pillow'
     ...

Решение :
Замените в requirements.txt Pillow==8.0.* -> Pillow==8.3.*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions