error problems for import some copora with nltk

ekyungchung at gmail.com ekyungchung at gmail.com
Thu Dec 23 11:14:52 EST 2004


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

Traceback (most recent call last):
File "<pyshell#1>", line 1, in -toplevel-
from nltk.corpus import gutenberg
File "C:\Python24\Lib\site-packages\nltk\corpus\__init__.py", line
134, in -toplevel-
from nltk.tokenreader import *
File "C:\Python24\Lib\site-packages\nltk\tokenreader\__init__.py",
line 57, in -toplevel-
from nltk.tokenreader.treebank import *
File "C:\Python24\Lib\site-packages\nltk\tokenreader\treebank.py",
line 15, in -toplevel-
from nltk.tokenreader.tagged import ChunkedTaggedTokenReader
File "C:\Python24\Lib\site-packages\nltk\tokenreader\tagged.py", line
15, in -toplevel-
from nltk.tree import Tree
File "C:\Python24\Lib\site-packages\nltk\tree.py", line 33, in
-toplevel-
from nltk.probability import ProbabilisticMixIn,
ImmutableProbabilisticMixIn
File "C:\Python24\Lib\site-packages\nltk\probability.py", line 56, in
-toplevel-
import types, math, Numeric
ImportError: No module named Numeric
================================================================

Kyung




More information about the Python-list mailing list