ImportError: No module named Tkinter while importing matplotlib.pyplot

Hi

I have installed python packages as per the given link : https://cloudxlab.com/blog/install-python-packages-cloudxlab/

But in pyspark when I am trying to import matplotlib.pyplot, I am getting error : ImportError: No module named Tkinter

Hi @arijit,

Can you please let me know which Spark version are you using? Seems like tkinter package is not installed in Python 2 environment. I will install it and update it here.

Thanks