首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >EC2 Enchant找不到字典en_US

EC2 Enchant找不到字典en_US
EN

Stack Overflow用户
提问于 2014-04-11 02:32:26
回答 1查看 2.5K关注 0票数 2

我正在尝试运行命令d = enchant.Dict('en_US'),但收到错误消息"enchant.errors.DictNotFoundError: Dictionary for language 'en_US' could not be found"

我已经运行了命令sudo yum install aspell -en,并尝试设置参数路径"enchant.set_param("enchant.aspell.dictionary.path","/usr/lib64/aspell-0.60")",但没有成功。

有什么建议吗?

EN

回答 1

Stack Overflow用户

发布于 2015-03-19 02:04:04

我必须先运行yum install aspell-en enchant-aspell,然后才能让它工作。请注意,"aspell-en“中没有空格。

附魔-法术包括“与法术的整合”,允许附魔和法术相互对话。希望这能有所帮助。

票数 7
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22996224

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档