我遇到了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
有什么建议吗?谢谢!