简体   繁体   中英

can't install. pip install -r requirements.txt

The error message when running pip install -r requirements.txt :

ERROR: Command errored out with exit status 1: 'e:\django-pos-master\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Use
rs\\asada\\AppData\\Local\\Temp\\pip-install-82_9dan8\\pillow_f761b25e426a43f6891c453cc664459a\\setup.py'"'"'; __file__='"'"'C:\\Users\\asada\\AppData\\Local\\Te
mp\\pip-install-82_9dan8\\pillow_f761b25e426a43f6891c453cc664459a\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\
r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\asada\AppData\Local\Temp\pip-record-lt_0q0si\install-
record.txt' --single-version-externally-managed --compile --install-headers 'e:\django-pos-master\venv\include\site\python3.9\Pillow' Check the logs for full com
mand output.

The Pillow version is not compatible with Python 3.9, try with Pillow~=8.0:

在此处输入图像描述

Try to update your pip: run python -m pip install --upgrade pip

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM