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?
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- How do I install pip on macOS or OS X?
- ImportError: No module named tensorflow
- PermissionError: [Errno 13] Permission denied
- How do I grep recursively?
- Why do you need to put #!/bin/bash at the beginning of a script file?
- “Defaulting to user installation because normal site-packages is not writeable” python message
- 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
- How can I create a dropdown menu from a List in Tkinter?
- -bash: syntax error near unexpected token `newline’ for display command
- SSH using python script
- takes 1 positional argument but 2 were given
- Changing the resolution of a VNC session in linux
- Tkinter understanding mainloop
- Building HelloWorld C++ Program in Linux with ncurses
- How does “cat << EOF" work in bash?
- tar removing leading ‘/’ from member names
- X11 forwarding request failed on channel 0
- Opening a .tar.gz file with a single command
- How to make and apply SVN patch?
- mysql_config not found when installing mysqldb python interface
- Diff command along with Grep gives “Binary file (standard input) matches”
- How would I get a cron job to run every 30 minutes?
- Background color for Tk in Python
- How to download a file from server using SSH?
- “ImportError: No module named site” on Windows
- connect to host localhost port 22: Connection refused
- Implementing shell in C and need help handling input/output redirection
- Running a Python script from PHP
- Can you Run Xcode in Linux?
- Post request with Wget?
- Implementation of multiple pipes in C
- chmod: changing permissions of ‘my_script.sh’: Operation not permitted
- Terminal Multiplexer for Microsoft Windows – Installers for GNU Screen or tmux
- How to change pip installation path
- Is there an alternative sleep function in C to milliseconds?
- Gedit command not working in kali linux terminal
- Syntax error near unexpected token ‘then’
- Curl : connection refused
- make -j 8 g++: internal compiler error: Killed (program cc1plus)
- Bash script prints “Command Not Found” on empty lines
- Bash export command
- How to edit gitignore file
- Linux Bash: Move multiple different files into same directory
- Adding a new entry to the PATH variable in ZSH
- how to search for a directory from the terminal in ubuntu
- How do I install pip on macOS or OS X?
- Downloading Java JDK on Linux via wget is shown license page instead
- How to use dos2unix?
- How to add a default include path for GCC in Linux?
- WordPress package configuration in Ubuntu Server?
- How to configure both webserver and appserver for WordPress CMS?
- How to remove all plugins, posts, pages, and inactive themes in one line with wp-cli? WordPress bloatware removal
- Communcation with wordrpess and linux server [closed]
- How can I sort du -h output by size
- What exactly do the colors in htop status bars mean?
- Why is my crontab not working, and how can I troubleshoot it?
- Showing total progress in rsync: is it possible?
- How to bind MySQL server to more than one IP address?
- Why is “chmod -R 777 /” destructive?
- What’s the best way of handling permissions for Apache 2’s user www-data in /var/www?
- How to check if a library is installed?
- Is it normal to get hundreds of break-in attempts per day?
- How to setup passwordless `sudo` on Linux?
- How do I prevent accidental rm -rf /*?
- How do I verify the speed of my NIC?
- What does Virtual memory size in top mean?
- What’s the best way to check if a volume is mounted in a Bash script?
- How do I find the UUID of a filesystem
- Find out symbolic link target via command line
- Meaning of directories on Unix and Unix like systems
- How to handle security updates within Docker containers?
- Is it possible to make Nginx listen to different ports?
- REJECT vs DROP when using iptables
- Linux command line best practices and tips?
- How to run command as user who has /usr/sbin/nologin as Shell?
- How to get pid of just started process
- How to disable everything in crontab -l?
- df says disk is full, but it is not
- What is the maximum port number?
- How to sort ps output by process start time?
- Is there a proper way to clear logs?
- protocol version mismatch — is your shell clean?
- How do I join two named pipes into single input stream in linux
- How should an IT department choose a standard Linux distribution?