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

Raspian install documentation #3671

Open
robodhhb opened this issue Feb 22, 2019 · 2 comments
Open

Raspian install documentation #3671

robodhhb opened this issue Feb 22, 2019 · 2 comments
Labels
Projects

Comments

@robodhhb
Copy link

@robodhhb robodhhb commented Feb 22, 2019

What did you do?

I want to import PIL modules with the following statement

#!/usr/bin/python3
import tkinter
from PIL import Image, ImageTk

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?

  • 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: aclark@aclark.net
    License: Standard PIL License
    Location: /usr/lib/python3/dist-packages
@radarhere radarhere added the Linux label Feb 22, 2019
@radarhere
Copy link
Member

@radarhere radarhere commented Mar 5, 2019

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?

@robodhhb
Copy link
Author

@robodhhb robodhhb commented Mar 5, 2019

@radarhere radarhere changed the title Documentation of installation Raspian install documentation May 4, 2019
@aclark4life aclark4life added this to Backlog in Pillow May 11, 2019
@aclark4life aclark4life moved this from Backlog to In progress in Pillow May 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Pillow
  
In progress
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.