dikshie wrote:
> Hi,
> successfully installed numpy but i cant use it (numpy is not defined).
> for example:
> 
> 
> Python 2.5.1 (r251:54863, Nov 25 2007, 02:18:29)
> [GCC 4.2.1 20070719  [FreeBSD]] on freebsd7
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from numpy import *
>>>> numpy.__version__
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> NameError: name 'numpy' is not defined
> 
> any hints ?
> 
> regards,

You did not import numpy, you imported all of its contents.  Try:

import numpy
numpy.__version__

Eric

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to