错误信息:
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-g6d_vo85/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-ll2hoecr-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-g6d_vo85/Pillow/
解决方法:
python3.6 -m pip install --upgrade pip setuptools wheel
python3.6 -m pip install Pillow
python3.6 -m pip install matplotlib
参考