I was just testing out some python codes to manipulate images and run into a couple of problems.
I first had the following error:
Code:
ImportError: No module named Image
which I fixed by:
Code:
sudo apt-get install python-imaging
then I had the following error:
Code:
ImportError: No module named exif
I couldn't install the exif library like I did the imaging so I downloaded
Code:
python-exif-1.0.2-3.fc6.noarch.rpm
from the fedora project, converted it to a dpkg using alien and installed it using
Code:
dpkg -i python-exif_1.0.2-3.fc6_all.deb
. When I searched for the file exif.py using find, the only copy was in
Code:
/usr/share/hplip/base/exif.py
even then, returns the "No module name exif" error.
My question is: is there some secret to installing python libraries?
Bookmarks