I work on an amazon linux ec2 machine. When I try to run a Python script inside 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 it, Tkinter was supposed to be part of the Python installation. But for some reason this is not so. They do not work -
sudo yum install python-tk sudo yum install tkinter
How to install tkinter? Or should I do this at all, should it be part of the Python installation?
python linux amazon-ec2 tkinter
Swetabh
source share