[SciPy-user] NameError on scipy import

Stephen Uhlhorn suhlhorn@gmail....
Thu Feb 1 14:54:13 CST 2007


I do have another installation via fink... many problems.

How do I find out which scipy my python is importing?

On 2/1/07, Robert Kern <robert.kern@gmail.com> wrote:
> Stephen Uhlhorn wrote:
> > I built numpy/scipy on my OS X 10.4 machine following the instructions
> > at the scipy.org page.
> >
> > I installed ActiveState python 2.4 and had no build errors thru the
> > entire process including numpy 1.0.1 and scipy 0.5.2. The post-install
> > numpy test passed without error, but importing scipy gave this error:
> >
> >>>> import scipy
> > Traceback (most recent call last):
> >  File "<stdin>", line 1, in ?
> >  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/__init__.py",
> > line 33, in ?
> >    del lib
> > NameError: name 'lib' is not defined
> >
> > Should I update to the latest svn version? Any suggestions?
>
> Double-check that the scipy that is trying to be imported is the same as the one
> you thought you installed. There is no line "del lib" in scipy 0.5.2's __init__.py.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless enigma
>  that is made terrible by our own mad attempt to interpret it as though it had
>  an underlying truth."
>   -- Umberto Eco
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-user mailing list