in Education by
I am using Pycharm 2018.2.4 community edition on Ubuntu 18.04 and I have started python 2.7 project and using the IDE settings -> Project Interpreter I have installed Pillow but whenever I try: from PIL import Image, ImageTk I get the following error: from PIL import Image, ImageTk ImportError: cannot import name ImageTk how to fix this? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Have you installed it correctly? apt-get install python3-pil python3-pil.imagetk

Related questions

0 votes
    I am using Pycharm 2018.2.4 community edition on Ubuntu 18.04 and I have started python 2.7 ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 13, 2022 in Education by JackTerrance
0 votes
    Our core application changed from Python 2.6 to Python 2.7 maybe to Python 3 in later release. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 3, 2022 in Education by JackTerrance
0 votes
    I need to use environment variable "PATH" in yaml file which needs to be parsed with a script. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 10, 2022 in Education by JackTerrance
0 votes
    I'm using MySqldb with Python 2.7 to allow Python to make connections to another MySQL server import ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    What I'm trying to do here is get the headers of a given URL so I can determine the MIME type. ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    import java.io.*; class employee { int pan; String name; double taxincome; double tax; void input(int p1, ... help something is wrong Select the correct answer from above options...
asked Dec 15, 2021 in Education by JackTerrance
0 votes
    Name one retouching tool used to remove imperfections from an image. Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    I'm stuck with this error for one on my app : Traceback (most recent call last): File "manage.py ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 20, 2022 in Education by JackTerrance
0 votes
    The below image shows my question in detail: it works when client version is changed to 5 beta but ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 21, 2022 in Education by JackTerrance
0 votes
    name any four tools in Gimp used for changing the pixel arrangement in an image Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    (a) What will be the output of the following Python code? from math import factorial print (math.factorial (5) ... : print(factorial(5) Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    We can import data from another sheet by using the Clipboard. (1 Point) True False Can’t say Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    COPY FROM is used to import datasets that have less than (1)1 million rows (2)2 million rows (3)several thousand rows (4)8 million rows...
asked May 7, 2021 in Technology by JackTerrance
0 votes
    COPY FROM is used to import datasets that have less than (1)1 million rows (2)2 million rows (3)several thousand rows (4)8 million rows...
asked Apr 16, 2021 in Technology by JackTerrance
0 votes
    To import a file from FTP, which of the following are the mandatory components? tFTPConnection, ... , tFTPGet tFTPConnection, tFTPGet tFTPConnection, tFTPExists, tFTPGet...
asked Mar 24, 2021 in Technology by JackTerrance
...