【问题标题】:/bin/bash: no: command not found: when trying to use a make:model command with J.DepP/bin/bash: no: command not found: 当尝试使用 make:model 命令和 J.DepP
【发布时间】:2022-01-16 14:42:32
【问题描述】:

尝试从 J.DepP 运行 Makefile 时,我不断收到 /bin/bash: no: command not found。有谁知道如何解决这一问题?有没有要安装的no 程序?

// Command that fails (split into 2 lines for readability)
find /home/jdepp-2015-10-05/KNBC_v1.0_090925/corpus1 -type f -name "KN*" | LC_ALL=C sort | xargs cat | 
no /home/jdepp-2015-10-05/tools/knbc2kyoto.py KNP | no /home/jdepp-2015-10-05/tools/replace_pos.py /home/linuxbrew/.linuxbrew/bin/mecab -d /home/linuxbrew/.linuxbrew/lib/mecab/dic/unidic > model/knbc/train.JDP.euc

/bin/bash: no: command not found
/bin/bash: no: command not found
xargs: cat: terminated by signal 13
make: *** [Makefile:948: knbc] Error 127

这是我得到的错误,它试图运行no 命令。当我在终端中输入no 时,它不存在。 Makefile 的第 948 行就是上面的命令。

有没有人成功安装J.DepP并修复了这个错误?

【问题讨论】:

    标签: c++ bash compiler-errors


    【解决方案1】:

    这实际上是一个问题,因为没有安装 python,并且 J.DepP 的 makefile 没有为关键依赖项返回失败。

    安装python,运行make clean && ./configure,问题就消失了。

    【讨论】:

      猜你喜欢
      • 2021-01-28
      • 1970-01-01
      • 1970-01-01
      • 2019-09-12
      • 2018-04-10
      • 2013-08-01
      • 1970-01-01
      • 2019-07-07
      • 1970-01-01
      相关资源
      最近更新 更多