It is not very easy to install Tkinter locally to use with system-provided Python. You may build it from sources, but this is usually not the best idea with a binary package-based distro you’re apparently running.
It’s safer to apt-get install python-tk
on your machine(s). (Works on Debian-derived distributions like for Ubuntu; refer to your package manager and package list on other distributions:)
Related Posts:
- python-dev installation error: ImportError: No module named apt_pkg
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- subprocess.Popen(): OSError: [Errno 8] Exec format error in python?
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- mysql_config not found when installing mysqldb python interface
- Python subprocess.Popen “OSError: [Errno 12] Cannot allocate memory”
- mysql_config not found when installing mysqldb python interface
- can’t remove python pip
- How can I set the ‘backend’ in matplotlib in Python?
- Yum fails with – There are no enabled repos.
- How to make rpm auto install dependencies
- How do I update a Python package?
- How to install Android SDK on Ubuntu?
- Should I install Linux applications in /var or /opt?
- How do I deal with a filename that starts with the hyphen (-) character?
- pip not recognised as an internal or external command
- Chmod 777 to a folder and all contents [duplicate]
- How to completely remove Python from a Windows machine?
- Bash: No such file or directory?
- Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?
- TypeError: ‘builtin_function_or_method’ object is not subscriptable
- Confused about stdin, stdout and stderr?
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- Tensorflow import error: No module named ‘tensorflow’
- What’s a .sh file?
- Amazon Linux: apt-get: command not found
- How do I install pip on macOS or OS X?
- How to set the environmental variable LD_LIBRARY_PATH in linux
- How do I install pip on macOS or OS X?
- How can I install pip on Windows?
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- ImportError: No module named tensorflow
- What’s a .sh file?
- PermissionError: [Errno 13] Permission denied
- How can I symlink a file in Linux? [closed]
- How to fix ‘sudo: no tty present and no askpass program specified’ error?
- Kill detached screen session [closed]
- How do I grep recursively?
- How do I grep recursively?
- _tkinter.TclError: no display name and no $DISPLAY environment variable
- Why do you need to put #!/bin/bash at the beginning of a script file?
- _tkinter.TclError: no display name and no $DISPLAY environment variable
- How to get the url of the current svn repo?
- What does pss mean in /proc/pid/smaps
- apt-get error: Sub-process /usr/bin/dpkg returned an error code (1)
- How do I find all files containing specific text on Linux?
- How to unmount a busy device
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- How to unmount a busy device
- “Defaulting to user installation because normal site-packages is not writeable” python message
- ImportError: No module named ‘Tkinter’
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- performing HTTP requests with cURL (using PROXY)
- Python3: ImportError: No module named ‘_ctypes’ when using Value from module multiprocessing
- Where can I find php.ini?
- gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
- How to pip or easy_install tkinter on Windows
- matplotlib error – no module named tkinter
- tkinter gui with progress bar
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- filedialog, tkinter and opening files
- No space left on device
- How do I grep recursively?
- How can I recursively find all files in current and subfolders based on wildcard matching?
- How to perform grep operation on all files in a directory?
- How to upgrade pip3?
- Amazon Linux: apt-get: command not found
- How can I create a dropdown menu from a List in Tkinter?
- How to install grub after installing Windows 10
- How do I insert a JPEG image into a python Tkinter window?
- Linux: ‘Username’ is not in the sudoers file. This incident will be reported
- how to find libstdc++.so.6: that contain GLIBCXX_3.4.19 for RHEL 6?
- How to extract C source code from .so file?
- Pass a password to ssh in pure bash
- How to substitute shell variables in complex text files
- How to upgrade pip3?
- TypeError: generatecode() takes 0 positional arguments but 1 was given
- -bash: syntax error near unexpected token `newline’ for display command
- How can I recursively find all files in current and subfolders based on wildcard matching?
- How do I use grep to search the current directory for all files having the a string “hello” yet display only .h and .cc files?
- Python virtualenv questions
- SSH using python script
- Curl command for https ( SSL )
- How to activate virtualenv in Linux?
- How can I exclude directories from grep -R?
- Tkinter understanding mainloop
- How to exclude a directory in find . command
- takes 1 positional argument but 2 were given
- “sed” command in bash
- How can I exclude directories from grep -R?
- Changing the resolution of a VNC session in linux
- How to pass arguments to a Button command in Tkinter?
- Tkinter scrollbar for frame
- Tkinter understanding mainloop
- gcc: error: unrecognized command line option
- AttributeError: ” object has no attribute ”
- matplotlib error – no module named tkinter
- How to exclude a directory in find . command
- How can I find all *.js file in directory recursively in Linux?
- Linux error while loading shared libraries: cannot open shared object file: No such file or directory