error problems for import some copora with nltk
Jeff Shannon
jeff at ccvcorp.com
Thu Dec 23 12:52:44 EST 2004
ekyungchung at gmail.com wrote:
>Hi,
>
>According to your advice, I installed the numeric library which is
>numarray-1.1.1.win32-py2.4.exe, but I got the error message as follows.
>Any help? frustrated...
>================================================================
>
>
>>>>from nltk.corpus import gutenberg
>>>>
>>>>
>
>[...]
>import types, math, Numeric
>ImportError: No module named Numeric
>
>
Numarray is not Numeric. You need to install Numeric, because NLTK
doesn't use numarray. (As I understand it, numarray is intended as a
replacement for Numeric, but modules/packages must be recoded to use it
-- it doesn't happen automatically.)
Jeff Shannon
Technician/Programmer
Credit International
More information about the Python-list
mailing list