可能遇到的问题如下:Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-i_nila5s/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-58tspw00-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-i_nila5s/Pillow/
安装方法
sudo apt-get install -y libjpeg-dev zlib1g-dev
pip install -i https://mirrors.aliyun.com/pypi/simple/ Pillow
|