[SciPy-user] RPM building trouble

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue Oct 5 03:38:03 CDT 2004


>>>>> "PP" == Pearu Peterson <pearu at scipy.org> writes:

    PP> On Tue, 5 Oct 2004, Michael Reimpell wrote:

[snip]
    PP> from scipy import plt import gui_thread gui_thread.start()
    PP> plt.plot((1,2,3))

    PP> works fine here.

Yes, I am not sure why but plt does not import wxPython till plt.plot
is called.  I checked sys.modules and wx is not to be seen.  

In [1]: from scipy import plt
In [2]: import sys
In [3]: [x for x in sys.modules.keys() if x.find('wx') > -1]
Out[3]: []

I guess its the special import stuff thats causing this?

cheers,
prabhu



More information about the SciPy-user mailing list