-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Raspbian install documentation #3671
Copy link
Copy link
Closed
Labels
Description
What did you do?
I want to import PIL modules with the following statement
#!/usr/bin/python3
import tkinter
from PIL import Image, ImageTkBut ImageTk was NOT imported. I got it by executing:
sudo aptitude install python3-pil.imagetk
This fact should be added to the documentation which would be of great help for beginners.
All modules which are not installed by default should have a hint that a user must install these modules!
What did you expect to happen?
The module Image and ImageTk shall be imported
What actually happened?
Only the module Image was imported
What are your OS, Python and Pillow versions?
- OS: Raspbian GNU/Linux 9.6 (stretch), Release: 9.6
Codename: stretch - Python: 3.5.3
- Pillow:
Version: 4.0.0
Summary: Python Imaging Library (Fork)
Home-page: http://python-pillow.org
Author: Alex Clark (Fork Author)
Author-email: [email protected]
License: Standard PIL License
Location: /usr/lib/python3/dist-packages
Reactions are currently unavailable