Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3章のMNIST画像の表示にはpillowライブラリが必要なようです #26

Closed
3panda opened this issue Jan 23, 2018 · 1 comment

Comments

@3panda
Copy link

3panda commented Jan 23, 2018

3章のMNIST画像(手書き数字認識のサンプル画像)を表示する部分ですが
mnist_show.pyを実行すると

% python mnist_show.py
Traceback (most recent call last):
  File "mnist_show.py", line 6, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'

PILのライブラリが存在しないと言うエラーになります。
こちらですがpillowをインストールで解決致しました。

pip3 install pillow

どこかに補足など頂けると幸いでございます。

参考にさせていただたURL
https://qiita.com/ukwksk/items/483d1b9e525667b77187

@kankanSunaga
Copy link

kankanSunaga commented May 6, 2018

@3panda

私も引っかかりissueにあがってないか確認したら、同じように困ってる方がいて自分だけではないということに安心しました。笑

どうやら、PIL は開発が中止されてしまい、代わりにそこから枝分かれした、Pillowが使われているようです。

https://note.nkmk.me/python-pillow-basic/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants