Python-Pillow installation problems

Discussion in 'UDOO NEO' started by Vinz87, Oct 16, 2016.

  1. Vinz87

    Vinz87 UDOOer

    Nov 11, 2015
    Likes Received:
    I'm trying to install the Python module Pillow on a fresh installation of UDOObuntu 2.0, through the command "sudo pip install pillow" but I get the error "no module named optparse".
    For what I understand optparse should be a default module present in python installation, so it's a bit weird that it doesn't find it, and I don't know how to install it.

    Any hint?
  2. waltervl

    waltervl UDOOer

    Dec 12, 2015
    Likes Received:
    Pillow is not supported on linux according the documentation. I ran into this also. you have to use Python-imaging. quote from pillow install doc:

    We do not provide binaries for Linux. Most major Linux distributions, including Fedora, Debian/Ubuntu and ArchLinux include Pillow in packages that previously contained PIL e.g. python-imaging. Please consider using native operating system packages first to avoid installation problems and/or missing library support later.

Share This Page