【问题标题】:aspell-python installation erroraspell-python 安装错误
【发布时间】:2014-10-17 08:22:09
【问题描述】:

我正在尝试安装 aspell-python 包 以进行拼写纠正。 安装包时遇到问题

错误:

python setup.py install
running install
running build
running build_ext
building 'aspell' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c aspell.c -o build/temp.linux-i686-2.7/aspell.o
aspell.c:53:20: fatal error: aspell.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

GCC 已安装版本 gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2

libaspell15 已安装

【问题讨论】:

    标签: python ubuntu installation aspell


    【解决方案1】:

    需要安装sudo apt-get install libaspell-dev

    【讨论】:

    • @SSA,我可能错了,但我认为 Nikkz 刚刚回答了他们自己的问题。在这种情况下它是有效的。
    • 面临同样的问题。这并没有解决我的问题。
    猜你喜欢
    • 1970-01-01
    • 2013-06-16
    • 1970-01-01
    • 2016-04-19
    • 2016-04-28
    • 2014-11-23
    • 2016-11-27
    • 1970-01-01
    • 2014-06-10
    相关资源
    最近更新 更多