Since on most linux distributions tkinter comes in a different package I have difficulties installing it on my university computer, where we don't have root access.
I get the following error:
/usr/bin/python3: Error while finding spec for 'tkinter.__main__' (<class 'ImportError'>:
No module named '_tkinter', please install the python3-tk package);
I have found this answer:
https://stackoverflow.com/a/10015546/2898702
Then I compiled and deployed TCL and TK in /home/<user>/.local
However the last step python setup.py build
seems to expect, that the python interpreter is also installed in a user directory, which is not the case for me.
Is there a way to install TCL and TK without also installing the python interpreter locally? Preferably using pip or easy_install.
In case it is relevant, the distribution seems to be linux mint.
Uname -a gives me: Linux pc404 4.4.0-59-generic #80~14.04.1-Ubuntu SMP Fri Jan 6 18:02:23 UTC 2017 i686 i686 i686 GNU/Linux