Installing PyGtk in virtualenv
So I am trying to run a simple matplotlib example in my virtualenv (in the console). Here's the code: import matplotlib matplotlib.use('GTKAgg') import matplotlib.pyplot as plt radius = [1.0, 2.0, 3.0, 4.0, 5.0, 6.0] area = [3.14159, 12.56636, 28.27431, 50.26544, 78.53975, 113.09724] plt.plot(radius, area) plt.show() However, when I run this I get: ImportError: Gtk* backend requires pygtk to be installed. And now the fun starts. I tried to pip install pygtk but it throws: ******************************************************************** * Building PyGTK using distutils is only supported on