Liveplotter error

I tried running the live plotter from the odrivetool using the line below:
start_liveplotter(lambda: [odrv0.axis0.encoder.pos_estimate])
However, it gives me an error " ModuleNotFoundError: No module named ‘tkinter’ ".

Does anyone know how to correct this issue?

Thanks!

How did you install python? Did you use anaconda or some other method?
I think tkinter should have been installed as a dependency of matplotlib but I may be mistaken. Did you install ODrive with pip?

I installed pyton on Ubuntu 16.XX.
Yep, I used the commands sudo apt install python3-pip for python 3 and pip3 install odrive for ODrive…