error problems for import some copora with nltk

ekyungchung at gmail.com ekyungchung at gmail.com
Wed Dec 22 13:50:27 EST 2004


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):
File "<pyshell#1>", line 1, in -toplevel-
from nltk.corpus import gutenberg
File "C:\Python23\lib\site-packages\nltk\corpus\__init__.py", line
134, in -toplevel-
from nltk.tokenreader import *
File "C:\Python23\lib\site-packages\nltk\tokenreader\__init__.py",
line 57, in -toplevel-
from nltk.tokenreader.treebank import *
File "C:\Python23\lib\site-packages\nltk\tokenreader\treebank.py",
line 15, in -toplevel-
from nltk.tokenreader.tagged import ChunkedTaggedTokenReader
File "C:\Python23\lib\site-packages\nltk\tokenreader\tagged.py", line
15, in -toplevel-
from nltk.tree import Tree
File "C:\Python23\lib\site-packages\nltk\tree.py", line 33, in
-toplevel-
from nltk.probability import ProbabilisticMixIn,
ImmutableProbabilisticMixIn
File "C:\Python23\lib\site-packages\nltk\probability.py", line 56, in
-toplevel-
import types, math, Numeric
ImportError: No module named Numeric
================================================================================
Thanks gain,

Kyung in Texas,




More information about the Python-list mailing list