Python 将PIL(枕头)从2.3.0更新到2.7.0后出错
昨天我有一个关于处理.eps文件的问题-您可以在这里找到: 我正在加载一个.eps文件并对其进行处理,该文件正在运行。今天我试着将PIL Pillow更新到2.7.0版,之后就不可能再阅读.eps文件了 错误:Python 将PIL(枕头)从2.3.0更新到2.7.0后出错,python,python-imaging-library,pillow,Python,Python Imaging Library,Pillow,昨天我有一个关于处理.eps文件的问题-您可以在这里找到: 我正在加载一个.eps文件并对其进行处理,该文件正在运行。今天我试着将PIL Pillow更新到2.7.0版,之后就不可能再阅读.eps文件了 错误: 这是一个bug,还是我错过了什么?如果再次降级到2.3.0会发生什么?基于我的快速谷歌搜索,pip install pillow=2.3.0应该可以做到这一点。@WayneWerner降级后文件可以读取…看起来像是@WayneWerner的案例谢谢-我提交了它。 Traceback (m
这是一个bug,还是我错过了什么?如果再次降级到2.3.0会发生什么?基于我的快速谷歌搜索,pip install pillow=2.3.0应该可以做到这一点。@WayneWerner降级后文件可以读取…看起来像是@WayneWerner的案例谢谢-我提交了它。
Traceback (most recent call last):
File "img_pil.py", line 25, in <module>
img = Image.open('epstest.eps')
File "build/bdist.linux-x86_64/egg/PIL/Image.py", line 2274, in open
IOError: cannot identify image file 'epstest.eps'
img = Image.open('epstest.eps')