[SciPy-User] importing griddata

Bala subramanian bala.biophysics@gmail....
Wed Nov 23 11:12:21 CST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20111123/66e5bffc/attachment.html 


More information about the SciPy-User mailing list