I\'m trying to use matplotlib in my application. I created a virtualenv in python2.7, pip installed matplotlib, and it\'s successfully running on local.
matplotlib
How
This should do the trick
matplotlib.use('Agg') import matplotlib.pyplot as plt
This will set your Matplotlib backend to use Agg instead of Tk. Just worked for me at least :-)