在Windows上安装用于NLTK的megam

2024-09-30 01:36:05 发布

您现在位置:Python中文网/ 问答频道 /正文

我需要在Python中为nltk分类例程安装megam。 我遵循了来自this post的牛奶魔法的指示:
0从http://www.umiacs.umd.edu/~hal/megam/index.html
1安装了带有gcc、make和ocaml包的cygwin
2更改了生成文件
三。当尝试用makefile编译megam时,我收到一个错误,其中包含以下内容

make
ocamldep *.mli *.ml > .depend ocamlc -g -custom -o megam str.cma -cclib -lcamlstr bigarray.cma -cclib -lbigarray unix.cma -cclib -lunix -I /lib/ocaml/caml fastdot_c.c fastdot.cmo intHashtbl.cmo arry.cmo util.cmo data.cmo bitvec.cmo cg.cmo wsemlm.cmo bfgs.cmo pa.cmo perceptron.cmo radapt.cmo kernelmap.cmo abffs.cmo main.cmo
sh: flexlink: command not found
File "fastdot_c.c", line 1:
Error: Error while building custom runtime system make: *** [Makefile:101: megam] Error 2

你知道有什么问题吗?
也许最近有人解决了同样的问题,可以帮忙。在


Tags: makecustom分类errorthispost例程nltk

热门问题