[SciPy-User] importing griddata

Andreas H. lists at hilboll.de
Wed Nov 23 12:21:39 EST 2011


When you look in the docs at


http://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.griddata.html

you see the line

   New in version 0.9.

This should answer your question.

Cheers,
Andreas.

Am 23.11.2011 18:12, schrieb Bala subramanian:
> Friends,
> I have scipy version 0.8.0 installed in my system running with ubuntu.
> When i give 'import scipy'  or 'import scipy.interpolate' i dnt get any
> problem. When i give from scipy.interpolate import griddata, i get an
> import error message. Kindly write why this happens.
> 
> Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
> [GCC 4.5.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> *import scipy*
>>>> *from scipy.interpolate import griddata*
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: cannot import name griddata
>>>> *import scipy.interpolate*
> 
> However in the scipy cookbook
> (http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data)
> importing the griddata is possible.
> 
> Thanks,
> Bala
> 
> 
> 
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user




More information about the SciPy-User mailing list