[Image-SIG] AttributeError: pixel_access

Fredrik Lundh fredrik at pythonware.com
Thu Jun 29 22:55:05 CEST 2006


Etienne Robillard wrote:

> I've ran into this problem while upgrading from 1.1.5
> to 1.1.6.
> 
>>>> import Image
>>>> Image.VERSION()
> '1.1.6a2-20060303'
> 
> Here's the debug output, while running selftest.py:
>
>   File "PIL/Image.py", line 561, in load
>     return self.im.pixel_access(self.readonly)
> AttributeError: pixel_access

looks like a botched or incomplete install; the selftest script picks up 
the Python files for 1.1.6, but the _imaging.so module for 1.1.5.

(note that you cannot use a plain "build" followed by selftest; you need 
to either do a "build_ext -i", or do a full install).

(using 1.1.6b1 instead of 1.1.6a2 is also a good idea).

</F>



More information about the Image-SIG mailing list