Where did you launch Python from ?

Matthieu

2007/8/24, Vivian Tini <[EMAIL PROTECTED]>:
>
> Dear All,
>
> I have just installed NumPy and I am excited to test it.
> Since I have no access as root then I installed Numpy in my home
> directory.
> The following messages appears as I tried some commands:
>
> >>> import numpy
> Running from numpy source directory
>
> >>> from numpy import *
> >>> a = array([1,2,3])
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> NameError: name 'array' is not defined
>
> >>> import Numeric
> >>> from Numeric import *
> >>> a = array([1,2,3]) # this works fine
> >>> b = array([4,5,6])
> >>> c = inner(a,b)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> NameError: name 'inner' is not defined
>
> How should I proceed to make either the numpy or Numeric works? Is it the
> problem from the installation?
>
> Thanks a lot in advance.
>
> Regards,
>
> Vivian Tini
>
>
>
>
> _______________________________________________
> Numpy-discussion mailing list
> [email protected]
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to