我使用的是centos7.8版本的服务器,使用pip3 install pillow 提示Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vf2eg4yk/pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ehtc9d1_-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-vf2eg4yk/pillow/
解决方案
pip3 install --upgrade pip
pip3 install --upgrade setuptools
pip3 install pillow