Tkinter module not found on Ubuntu

Tkinter module not found on Ubuntu

Asked on November 21, 2018 in tkinter.
Add Comment


  • 3 Answer(s)

    The answer is:

          The think is you’re on Ubuntu. You probably need to run update-python-modules to update your Tkinter module for Python 3.

    EDIT: Running update-python-modules

    Make sure you have python-support installed:

    sudo apt-get install python-support
    

    Now, run update-python-modules with the -a option to rebuild all the modules:

    sudo update-python-modules -a
    

    I cannot guarantee all your modules will build though, since there are some API changes between Python 2 and Python 3.

    Answered on November 21, 2018.
    Add Comment

    Here the solution is:

        This  worked for me in Ubuntu was actually just:

        sudo apt-get install python3-tk
    

        The python 3.6: code is

        sudo apt-get install python3.6-tk
    

         I didn’t read anywhere, I simply tried it, as onteria_’s method didn’t seem to work for me.

    Answered on November 21, 2018.
    Add Comment

    Here the answer is:

    The answer to your question is that Tkinter is renamed to tkinter in python3

    that is with lowercase “t”

    Answered on November 21, 2018.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.