Results 1 to 2 of 2

Thread: python libraries

  1. #1
    Join Date
    Jan 2006
    Beans
    13

    python libraries

    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,
    Code:
    import exif
    returns the "No module name exif" error.

    My question is: is there some secret to installing python libraries?

  2. #2
    Join Date
    Mar 2008
    Beans
    2

    Re: python libraries

    It could be that the author of the application is talking about EXIF.py with you can download from SourceForge.net just put in "EXIF.py" in Google and you will find the download source.

    That solved it for me but we could of course be talking about different things..
    Hope that helps..

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •