ImportError: No module named numarray

Robert Kern rkern at ucsd.edu
Mon Jul 11 15:43:28 EDT 2005


enas khalil wrote:
> 
>     when i write a code to import some module like the following :
>      
>      
>     from nltk.probability import ConditionalFreqDist
>      
>     I got the error :
>      
>     Traceback (most recent call last):
>       File "C:\Python24\toky.py", line 1, in -toplevel-
>         from nltk.probability import ConditionalFreqDist
>       File "C:\Python24\Lib\site-packages\nltk\probability.py", line 56,
>     in -toplevel-
>         import types, math, numarray
>     ImportError: No module named numarray
> 
>         can you please tell me the cause 

I already did. You need to install numarray.

http://www.stsci.edu/resources/software_hardware/numarray

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Python-list mailing list