Python 安装sequitor g2p转换器时出错
我想安装sequitor g2p一个数据驱动的字-音转换器 生成sequitor-g2p时获取错误 我给出了命令Python 安装sequitor g2p转换器时出错,python,Python,我想安装sequitor g2p一个数据驱动的字-音转换器 生成sequitor-g2p时获取错误 我给出了命令$python setup.py install--prefix/usr/local/ 获取错误如下所示: Utility.cc:43:21: error: ‘EOF’ was not declared in this scope if (is.get() == EOF) return EOF; ^ Utility.cc:48:35:
$python setup.py install--prefix/usr/local/
获取错误如下所示:
Utility.cc:43:21: error: ‘EOF’ was not declared in this scope
if (is.get() == EOF) return EOF;
^
Utility.cc:48:35: error: ‘EOF’ was not declared in this scope
while (((token = is.get()) != EOF) &&
^
error: command 'i686-linux-gnu-gcc' failed with exit status 1
提前感谢。另请参见
最简单的选择是添加
#include <stdio.h>
另见
最简单的选择是添加
#include <stdio.h>