matplotlib does not work on 64bit fink.  I need to set the distribution 
correctly.  Apple does not support Carbon on 64bit mac environments.

-kurt
(goatbar)

 http://schwehr.org




________________________________
From: Martin Costabel <[email protected]>
To: Sean Lake <[email protected]>
Cc: fink-users Fink <[email protected]>; Kurt Schwehr 
<[email protected]>
Sent: Tue, March 22, 2011 9:06:52 AM
Subject: Re: [Fink-users] matplotlib-py26-1.0.0-1 Error

Sean Lake wrote:
> Hello all,
> 
> I'm running into a little trouble running this program. When I try to plot 
>something I run into this error:
> 
> import matplotlib.pyplot as plt
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File 
>"/usr/local/scisoft/packages/python/lib/python2.6/site-packages/matplotlib/pyplot.py",
> line 95, in <module>
>     new_figure_manager, draw_if_interactive, show = pylab_setup()
>   File 
>"/usr/local/scisoft/packages/python/lib/python2.6/site-packages/matplotlib/backends/__init__.py",
> line 25, in pylab_setup
>     globals(),locals(),[backend_name])
>   File 
>"/usr/local/scisoft/packages/python/lib/python2.6/site-packages/matplotlib/backends/backend_macosx.py",
> line 5, in <module>
>     import MacOS
> ImportError: No module named MacOS
> 
> This is when trying to run an example script from the matplotlib website: 
>http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo.py
>
> 
> My matplotlibrc file is very simple: text.usetex : True
> 
> backend : MacOSX

Visibly, this is not an error with Fink's matplotlib, but with another version 
installed in /usr/local/scisoft.

Without more information from you, one can only guess why you are using this 
and 
not Fink's version. Supposing that your Fink matplotlib package is installed 
correctly, you are probably running the wrong python, not /sw/bin/python, but 
something in /usr/local. This could be a PATH problem, or that you run "python" 
instead of, for instance, "python2.6", but you haven't installed Fink's 
"python" 
package.

-- Martin



      
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to