[SciPy-user] help and lazy importer (again or still ?)

Pearu Peterson pearu at scipy.org
Sun May 9 03:23:17 EDT 2004



On Thu, 6 May 2004, Pearu Peterson wrote:

> On Fri, 7 May 2004, Arnd Baecker wrote:
> 
> > I just tried it out (>>> scipy.__version__: '0.3.1_280.4183')
> > 
> > >>> help("scipy.integrate")
> > No module named Image
> > >>> help("scipy.integrate")
> > No module named ImageFilter
> > >>> help("scipy.integrate")
> > No module named wxPython
> > >>> help("scipy.integrate")
> >   [[[ now the expected help shows up ]]]
> > 
> > I.e, only the 4th try leads to the doc-string?
> 
> Yes, I have noticed that too when wxPython is not installed (Python 2.2).
> 
> > Another one:
> > >>> help("scipy.integrate.odeint")
> > No module named Image
> > 
> > >>> help("scipy.integrate.odeint")
> > No module named odeint

The above issues are now fixed in CVS. When PIL or wxPython are not 
installed then expect the following messages when importing scipy:

/usr/local/lib/python2.2/site-packages/scipy/pilutil.pyc No module named 
PIL
/usr/local/lib/python2.2/site-packages/scipy/plt/interface.pyc No module 
named wxPython
/usr/local/lib/python2.2/site-packages/scipy/plt/__init__.pyc No module 
named wxPython


Pearu




More information about the SciPy-User mailing list