[PYTHON] installer l'oreiller

pil semble mettre l'oreiller à la mode récente (?).

Donc, si vous l'installez sans penser à rien,

    --------------------------------------------------------------------
    PIL SETUP SUMMARY
    --------------------------------------------------------------------
    version      Pillow 2.7.0
    platform     linux 3.4.0 (default, Apr 11 2014, 13:05:11)
                 [GCC 4.8.2]
    --------------------------------------------------------------------
    *** TKINTER support not available
    *** JPEG support not available
    *** OPENJPEG (JPEG2000) support not available
    --- ZLIB (PNG/ZIP) support available
    *** LIBTIFF support not available
    *** FREETYPE2 support not available
    *** LITTLECMS2 support not available
    *** WEBP support not available
    *** WEBPMUX support not available
    --------------------------------------------------------------------
    To add a missing option, make sure you have the required
    library, and set the corresponding ROOT variable in the
    setup.py script.

On me dit que certaines bibliothèques manquent, donc

$ sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk

Avec ceci, pour le moment,

    --------------------------------------------------------------------
    PIL SETUP SUMMARY
    --------------------------------------------------------------------
    version      Pillow 2.7.0
    platform     linux 3.4.0 (default, Apr 11 2014, 13:05:11)
                 [GCC 4.8.2]
    --------------------------------------------------------------------
    *** TKINTER support not available
    --- JPEG support available
    *** OPENJPEG (JPEG2000) support not available
    --- ZLIB (PNG/ZIP) support available
    --- LIBTIFF support available
    --- FREETYPE2 support available
    --- LITTLECMS2 support available
    --- WEBP support available
    --- WEBPMUX support available
    --------------------------------------------------------------------
    To add a missing option, make sure you have the required
    library, and set the corresponding ROOT variable in the
    setup.py script.

Après cela, je veux pouvoir utiliser jpeg2000, donc

$ wget http://downloads.sourceforge.net/project/openjpeg.mirror/2.0.1/openjpeg-2.0.1.tar.gz 
$ tar zxvf openjpeg-2.0.1.tar.gz
$ cmake .
$ make
$ sudo make install

Maintenant, il est compatible JPEG2000.

TkInter n'est pas pris en charge car je n'ai pas l'intention de l'utiliser.

Recommended Posts

installer l'oreiller
oreiller
Installer l'oreiller sur Mac OSX 10.9
Installez Python Pillow sur Amazon Linux
Installer pytorch
Installez Activiti 6
installation emacs-jedi
Installation d'ArcoLinux
Installer python
Installation de virtualenv
Installez mojimoji
Installez Scipy
Installer Memo
Installez Qiskit
Installation d'Ansible
Installez skt-war-result
Installation de Django
Installez PyTorch
Installation d'ArchmanLinux
installation sudo pip
Installation bêta de Fedora 33
Installation de ffmpeg / imagemagick
CentOS8 --Installer --Django
Installation locale de Python
Installez easy_install (Windows)
Dépannage de l'installation d'apt
Installez NAOqi python
Installer depuis conda-forge
Installez tensorflow. (Seulement!)
Installer Apache Zookeeper
Installer le contrôle Python
Lutte pour l'installation d'Opencv
Installation d'Apache Zeppelin
Installation d'Apache ActiveMQ
Construction et installation de BlueZ
CentOS8 --Installer --Python3
Installation de Numpy + Atlas