[Scipy-tickets] [SciPy] #1374: pilutil - PIL import hash collision
SciPy Trac
scipy-tickets@scipy....
Fri Jan 28 06:44:15 CST 2011
#1374: pilutil - PIL import hash collision
------------------------+---------------------------------------------------
Reporter: klaush | Owner: somebody
Type: defect | Status: new
Priority: low | Milestone: Unscheduled
Component: scipy.misc | Version: 0.8.0
Keywords: |
------------------------+---------------------------------------------------
Comment(by pv):
Works for me:
{{{
>>> import scipy.misc.pilutil
>>> from PIL import Image, ImageFont, ImageDraw
>>> img = Image.open('test.png')
>>> y = scipy.misc.pilutil.imfilter(img, 'blur')
>>>
}}}
So the problem is probably some complicated easy_install issue.
Or, perhaps, you have multiple versions of PIL installed?
Anyway, I don't think that changing the import convention is the correct
thing to do here, as the problem seems to be in the setup.
--
Ticket URL: <http://projects.scipy.org/scipy/ticket/1374#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.
More information about the Scipy-tickets
mailing list