[Numpy-discussion] Use of numarray from numpy package

LANDRIU David SAp landriu at discovery.saclay.cea.fr
Wed Aug 30 06:28:40 EDT 2006


Hello,

   is it necessary to install numarray separately to use numpy ?
   
  Indeed, after numpy installation, when I try to use it in the code,
 I get the same error as below :
 
.../... 
Python 2.4.1 (#1, May 13 2005, 13:45:18)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from numarray import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.3/site-packages/numpy/numarray/__init__.py", line 1, in ?
    from util import *
  File "/usr/local/lib/python2.3/site-packages/numpy/numarray/util.py", line 2, in ?
    from numpy import geterr
ImportError: No module named numpy
>>>

  Thanks for your answer,
  
     Cheers,
     
       David Landriu
 


--------------------------------------------------------------------

David Landriu                 DAPNIA/SAp CEA SACLAY  (France)                   

Phone  : (33|0)169088785 
Fax    : (33|0)169086577 

---------------------------------------------------------------------





More information about the NumPy-Discussion mailing list