尝试使用 pip 安装枕头时会产生此错误。我尝试重新安装设置工具,但没有任何效果我在安装了 Diet Pi 的 pi 零上运行
pip install pillow
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pillow
Using cached
https://files.pythonhosted.org/packages/3c/7e/443be24431324bd34d2
2dd9d11cc845d995bcd3b500676bcf23142756975/Pillow-5.4.1.tar.gz
Installing collected packages: pillow
Running setup.py install for pillow ... error
Complete output from command /usr/bin/python -u -c "import setuptools, token ize;__file__='/tmp/pip-install-Q2fwNi/pillow/setup.py';f=getattr(tokenize, 'open ', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(co de, __file__, 'exec'))" install --record /tmp/pip-record-uWuhA1/install-record.t xt --single-version-externally-managed --compile:
Single threaded build, not installing mp_compile:1 processes
running install
running build
running build_py
creating build
creating build/lib.linux-armv6l-2.7
creating build/lib.linux-armv6l-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv6l-2.7/PIL …Run Code Online (Sandbox Code Playgroud)