Skip to content Skip to sidebar Skip to footer

Install Tkinter Without Root Access

I'm having a bit of trouble trying to install Tkinter on a Linux system without having root privileges. According to the second answer to this question: Install tkinter for Python

Solution 1:

don't have sufficient reputation points to comment, but isn't this question Install Tkinter in linux similar to yours??.

To summarize, if you are sure that Tkinter is not already installed (and not that your python path is not correctly configured), I would suggest you to use some tools like easy_install and then do

easy_install --prefix=<local-dir-in-python-path> python-tk

generally I use ~/.local/ as the prefix.

easy_install can be installed by installing setuptools

Post a Comment for "Install Tkinter Without Root Access"