|
From: Benjamin R. <ben...@ou...> - 2012-06-30 19:29:59
|
On Saturday, June 30, 2012, Youbao Zhang wrote: > Dear all, > > I successfully installed Python 3.2.3 + Numpy 1.6.2 + Matplotlib 1.2.x > (Git version). I tried the following command sequence line by line: > > huskier@SqueezeVM0:~/Programming/Python/Python-3.2.3$ python3.2 > Python 3.2.3 (default, Jun 30 2012, 07:14:35) > [GCC 4.4.5] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > *>>> import matplotlib.pyplot as plt* > *>>> plt.plot(range(10), range(10))* > [<matplotlib.lines.Line2D object at 0x3c6f1d0>] > *>>> plt.show()* > >>> > > However, nothing happens when I typed plt.show(). There should be a figure > window which I can get using python 2.6. > > I do not know what's wrong with my installation. OR matplotlib cannot be > used with python 3? Any ideas? > > Best regards, > > Simon > > Most likely, you didn't have the Dec packages for any of the toolkits available. Check your build log. Ben Root |