[SciPy-user] ImportError: cannot import name P_roots

eric eric at scipy.org
Sat Apr 13 21:14:19 CDT 2002


I went through and changed P_roots and friends to p_roots so that they matched
the lower-case naming conventions.  Nils must have done a checkout in the middle
of the changes.  As Pearu says, it is OK in the CVS now.

eric

----- Original Message -----
From: "Travis Oliphant" <oliphant.travis at ieee.org>
To: <scipy-user at scipy.org>
Sent: Saturday, April 13, 2002 4:43 PM
Subject: Re: [SciPy-user] ImportError: cannot import name P_roots


> On Sat, 2002-04-13 at 12:26, My VDI Freemail wrote:
> > Hi,
> >
> > I have build and installed scipy via latest CVS.
> > Everything works fine so far.
> >
> > Python 2.2 (#1, Mar 26 2002, 15:46:04)
> > [GCC 2.95.3 20010315 (SuSE)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> from scipy import *
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File "/usr/lib/python2.2/site-packages/scipy/__init__.py", line 57, in ?
> >     import optimize, integrate, signal, special, interpolate, cow, ga,
cluster, weave
> >   File "/usr/lib/python2.2/site-packages/scipy/integrate/__init__.py", line
28, in ?
> >     from quadrature import *
> >   File "/usr/lib/python2.2/site-packages/scipy/integrate/quadrature.py",
line 5, in ?
> >     from scipy.special.orthogonal import P_roots
> > ImportError: cannot import name P_roots
> > >>>
>
>
> No idea,
>
> Did you do a clean install?
>
> Is there a file named
> /usr/lib/python2.2/site-packages/scipy/special/orthogonal.py on your
> system?
>
> Does that file contain the function P_roots?  Note:
>
> >>> import scipy
> >>> from scipy.special.orthogonal import P_roots
> >>> P_roots
> <function P_roots at 0x82acdfc>
>
>
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>





More information about the SciPy-user mailing list