On Jul 13, 2007, at 9:14 AM, John Hunter wrote:
>
> Try importing these packages individually
>
>  import matplotlib._image
>  import matplotlib._transforms
>
>  #one of these three depending on which numerix package you are using
>  import matplotlib.backends._na_backend_agg # for numarray
>  import matplotlib.backends._nc_backend_agg # for Numeric
>  import matplotlib.backends._ns_backend_agg # for numpy
>
>  import matplotlib.backends._tkagg
>  import matplotlib._agg


I have done all the usual tricks (wipe build, get newest numpy/mpl,  
etc).

I tried the suggestions above, and get an error for only one:

 >>> import matplotlib.backends._tkagg
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/ 
lib/python2.5/site-packages/matplotlib/backends/_tkagg.so, 2): Symbol  
not found: _Tcl_AppendResult
   Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/ 
lib/python2.5/site-packages/matplotlib/backends/_tkagg.so
   Expected in: dynamic lookup

I think this is strange, because Tk works fine when I don't click- 
close a Tk window -- I.e., no errors when pylab starts, or plots, etc.


-Rob

----
Rob Hetland, Associate Professor
Dept. of Oceanography, Texas A&M University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to