Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRaspian install documentation #3671
Open
Comments
|
How did you initially install Pillow? You've outlined what you did to get ImageTk working, but what method did you use to set up Pillow so that just Image could be installed? |
|
I did NOT install Pillow on my Raspberry Pi by myself. It is present after the NOOBS installation (v2.9 Oct 10 2018) of Raspian. I was very confused by this fact. But other users also have this problem. I found the problem solving command:
sudo aptitude install python3-pil.imagetk (Take this command as search query in google)
elsewhere in the internet in a forum.
It seems that the initial installation of Raspian by NOOBS may have a bug in the configuration management?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What did you do?
I want to import PIL modules with the following statement
But 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?
Codename: stretch
Version: 4.0.0
Summary: Python Imaging Library (Fork)
Home-page: http://python-pillow.org
Author: Alex Clark (Fork Author)
Author-email: aclark@aclark.net
License: Standard PIL License
Location: /usr/lib/python3/dist-packages