我正在运行 OSX 和 Python 2.7。我拥有的应用程序需要 PIL 模块,当我尝试安装它时会出现此错误。
我已经尝试了几次安装,但似乎没有任何效果。我怎样才能让它工作?
WARNING 2012-04-18 18:15:54,222 dev_appserver.py:3394] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: dlopen(/Library/Python/2.7/site-packages/PIL/_imaging.so, 2): Symbol not found: _jpeg_resync_to_restart
Referenced from: /Library/Python/2.7/site-packages/PIL/_imaging.so
Expected in: flat namespace