系统版本:os x 10.6.7
python:2.6
安装的PIL库版本:PIL 1.1.7
libjpeg: v8c
在python setup.py build 的时候系统已经提示:
--- TKINTER support available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
--- LITTLECMS support available
安装完成后在web.py中使用的时候系统提示:
The _imaging C module is not installed
然后我进入控制台
python -v
import Image
import _imaging
系统返回错误信息:
import _imaging
dlopen("/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL-1.1.7-py2.6-macosx-10.3-fat.egg/_imaging.so", 2);
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL-1.1.7-py2.6-macosx-10.3-fat.egg/_imaging.so, 2): Symbol not found: _jpeg_resync_to_restart
Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL-1.1.7-py2.6-macosx-10.3-fat.egg/_imaging.so
Expected in: dynamic lookup
知道是 Symbol not found: _jpeg_resync_to_restart 这个问题但是不知道如何解决GOOGLE了一下发现很多人遇到了这样的问题,但是没有一个完整的解决方案。也试了很多解决方案,但是都没有解决,请大家帮忙,谢谢。
python:2.6
安装的PIL库版本:PIL 1.1.7
libjpeg: v8c
在python setup.py build 的时候系统已经提示:
--- TKINTER support available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
--- LITTLECMS support available
安装完成后在web.py中使用的时候系统提示:
The _imaging C module is not installed
然后我进入控制台
python -v
import Image
import _imaging
系统返回错误信息:
import _imaging
dlopen("/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL-1.1.7-py2.6-macosx-10.3-fat.egg/_imaging.so", 2);
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL-1.1.7-py2.6-macosx-10.3-fat.egg/_imaging.so, 2): Symbol not found: _jpeg_resync_to_restart
Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL-1.1.7-py2.6-macosx-10.3-fat.egg/_imaging.so
Expected in: dynamic lookup
知道是 Symbol not found: _jpeg_resync_to_restart 这个问题但是不知道如何解决GOOGLE了一下发现很多人遇到了这样的问题,但是没有一个完整的解决方案。也试了很多解决方案,但是都没有解决,请大家帮忙,谢谢。