I am working on an Amazon Linux ec2 machine. When I try to run a Python script inside a virtualenv, I get the following message:
File "/home/sp/Envs/crispor/local/lib/python2.7/dist-packages/matplotlib/externals/six.py", line 80, in _import_module
__import__(name)
ImportError: No module named Tkinter
As I understand Tkinter should have been a part of the Python installation. But somehow it is not. These do not work -
sudo yum install python-tk
sudo yum install tkinter
How do I install Tkinter? Or should I be doing that at all give it should have been a part of the Python installation?