[Image-SIG] ImportError: No module named image
olauret at yahoo.fr
Tue Jul 12 20:43:21 CEST 2005
I would like to do a test to see if the installation of my PIL library is
correct. When I do, in a idle window, a:
I get the following error:
ImportError: No module named image
I get the same with the command:
Any idea of what this could be? couldn't find anything on Internet :(
What I already checked:
1. The install of PIL was successfull all the way long. I followed the
detailed steps of the ReadMe file and all checks were successful
2. The PIL folder has been added to the /usr/lib/python2.4/site-packages
directory and a PIL.pth automatically has been created with PIL written into
3. Restart the computer didn't help
4. The PIL directory has the 755 permissions.
5. "Import sys" is working fine.
Python 2.4.1 (#1, Jul 9 2005, 17:11:17)
[GCC 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)] on linux2
PIL (Imaging-1.1.5) from the official website.
History in the installation of Python: Python 2.3 was already installed. I
installed Python 2.4 from the source into the default directory (/usr/local),
but this wasn't where exactly I wanted it to be installed. Installed again
Python 2.4 in (/usr). I didn't delete any Python installation folder.
Installation when without any error.
Installation of PIL was in the correct directory. The "import image" failed.
Renaming the /usr/local/bin/python2.4 (wrong python installation directory)
didn't change anything.
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
More information about the Image-SIG