Matplotlib "show()" error Mac OS X Lion

In article <629E8F74-C832-4500-9768-8AF5FB39D633@...3399...>,
Bedartha Goswami <goswami@...3399...>
wrote:

Hi,

I have recently installed Python 32/64bit from Python.org and then I
proceeded to install bumpy, scipy, matplotlib and igraph on it. But the
Matplotlib does not show the plots even if it opens a Figure window. Here is
a summary of what I had done in my installation:
-----
I first did a "clean install" by following the instructions at (with an idea
to reinstall Matplotlib and see if the rror repeats):
http://matplotlib.sourceforge.net/faq/installing_faq.html#clean-install
-----
So now my python does not have matplotlib:

Bedarthas-MacBook-Air:~ bedartha$ cd ~/Desktop/
Bedarthas-MacBook-Air:Desktop bedartha$ python
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named matplotlib
>>>
Bedarthas-MacBook-Air:Desktop bedartha$
-----
Then I downloaded (again) the DMG file at:
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/m
atplotlib-1.1.0-py2.7-python.org-macosx10.3.dmg/download
-----
and installed Matplotlib (which seems to go through fine). But after that:

Bedarthas-MacBook-Air:~ bedartha$ cd ~/Desktop/
Bedarthas-MacBook-Air:Desktop bedartha$ python
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin

I suspect you are trying to install matplotlib on the 64-bit Python
instead of the 32-bit python for which it was built

I say this because 32-bit python is built using GCC 4.0.1.

There is no matplotlib binary for 64-bit Python yet because I've not
figured out how to build one successfully -- I get horrible conflicts
with Tcl/Tk.

-- Russell

Would it be possible to release a matplotlib binary for 64-bit Python using the MacOSX backend instead of tkagg?

Best,
-Michiel.

···

--- On Wed, 11/9/11, Russell E. Owen <rowen@...2756...> wrote:

There is no matplotlib binary for 64-bit Python yet because
I've not
figured out how to build one successfully -- I get horrible
conflicts
with Tcl/Tk.