ImportError: No module named numarray

Robert Kern rkern at ucsd.edu
Sun Jul 10 00:00:36 CEST 2005


enas khalil wrote:
> dear all
> could you tell me how can i fix this error appears when i try to import 
> modules from nltk
> as follows
>  
> from nltk.probability import  ConditionalFreqDist
> Traceback (most recent call last):
>   File "<pyshell#1>", 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

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