我面临 Canopy python 和 Python Image Library 的问题。
我想使用 _imaging 库,但导入会产生 libjpeg not found 错误
import _imaging
dlopen("/home/abcd/Canopy/C64/User/lib/python2.7/site-packages/PIL/_imaging.so", 2);
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: libjpeg.so.7: cannot open shared object file: No such file or directory
我正在开发 Fedora 19,并确保(根据 yum)应该提供 libjpeg:
# yum provides libjpeg
libjpeg-turbo-1.2.90-2.fc19.i686 : A MMX/SSE2 accelerated library for manipulating JPEG image files
Repo : fedora
Provides : libjpeg = 6b-47.fc19
和
yum update
No packages marked for update
有什么建议吗?谢谢!