error problems for import some copora with nltk

Jeff Shannon jeff at ccvcorp.com
Wed Dec 22 14:23:53 EST 2004


ekyungchung at gmail.com wrote:

>Dear Tony.Meyer,
>
>Thank you for answering this. I did exactly what you told me, but I got
>following messages.
>Do you have any idea?
>
>=============================================================================
>  
>
>>>>import nltk
>>>>from nltk.corpus import gutenberg
>>>>        
>>>>
>
>Traceback (most recent call last):
>[...]
>import types, math, Numeric
>ImportError: No module named Numeric
>  
>

At a guess, the nltk package is dependent upon Numeric already being 
installed, and you don't have Numeric.  Check your nltk documentation to 
see if there's particular versions of Numeric that are required, and 
then ensure that you have (or get) an appropriate version.

Jeff Shannon
Technician/Programmer
Credit International




More information about the Python-list mailing list