Re: error problems for import some copora with nltk

ekyungchung_at_gmail.com
Date: 12/23/04


Date: 23 Dec 2004 08:14:52 -0800

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



Relevant Pages

  • pyinstaller fails to create exe-File
    ... created exe-File gives the error message ... Traceback: ... ImportError: No module named email.mime.multipart ... python setup.py py2exe ...
    (comp.lang.python)
  • Re: PythonCard and Py2Exe
    ... > This is the error message I get when I run custdb.exe: ... > Traceback: ... > ImportError: cannot import module 'radiogroup ...
    (comp.lang.python)
  • win32all problem with win32pdh.EnumObjectItems under win2K
    ... Windows XP but that recent versions of win32all corrected the problem. ... Below is the Traceback: ... (-1073738824, 'EnumObjectItems for buffer size', 'No error message is ... Any advice would be appreciated. ...
    (comp.lang.python)
  • Re: global name self is not defined
    ... copy/paste the code that you actually ran. ... Show the full traceback and error message. ...
    (comp.lang.python)
  • Re: Problems with macro
    ... The advice you got about the last row appears to be good advice ... What does the error message say? ... Have you recently changed the version of Excel you are using? ... the macro is now creating error messages. ...
    (microsoft.public.excel.misc)