In article <629e8f74-c832-4500-9768-8af5fb39d...@pik-potsdam.de>,
 Bedartha Goswami <gosw...@pik-potsdam.de> 
 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


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to