我不确定为什么会收到此错误。任何帮助,将不胜感激。
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' failed with exit status 1
最佳答案
在 Mac 上,假设您使用的是 Homebrew,请键入:
brew install Homebrew/python/pillow
Pillow 与 PIL 基本相同。
如果 python 无法找到包,请尝试以下 2 个命令。
mkdir -p ~/Library/Python/2.7/lib/python/site-packages
echo '/usr/local/lib/python2.7/site-packages' > ~/Library/Python/2.7/lib/python/site-packages/homebrew.pth
关于python - 在 Mac OS 10.8.4 上安装 PIL 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18494749/