0
I have just installed Seaborn in my .local directory of a CentOS 7 machine using:
pip install --user seaborn
Now when I am trying import matplotlib.pyplot as plt
in ipython console I am getting the error:
ImportError: No module named Tkinter
This was not happening earlier, i.e. before the installation (which upgraded matplotlib to the version 2.2.4). I have checked with other users and they are not getting this error, it is importing normally for them.
I did matplotlib.use('agg')
, but then plt.show()
is not showing the GUI. Please suggest what can be done to be able to import matplotlib normally.
I also want to add that I do not have sudo privileges in the said machine.