LoginSignup
0
2

More than 5 years have passed since last update.

macOSのPython 3.xでPILのインストール

Last updated at Posted at 2017-05-01

macOSのPython 3.xではPILのインストールに失敗する

Imageing-1.1.7などのソースファイルをダウンロードしてきてインストールしようとしても失敗する。
理由: Imageing 1.xはPython 2.x用

ImagingではなくPillowをpipでインストールして終了

$ pip install Pillow
Collecting Pillow
  Downloading Pillow-4.1.1-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.5MB)
    100% |████████████████████████████████| 3.5MB 385kB/s
Collecting olefile (from Pillow)
  Downloading olefile-0.44.zip (74kB)
    100% |████████████████████████████████| 81kB 7.5MB/s
Installing collected packages: olefile, Pillow
  Running setup.py install for olefile ... done
Successfully installed Pillow-4.1.1 olefile-0.44

macOS以外でも同じかも?

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2