taoCMS是基于php+sqlite/mysql的国内最小(100Kb左右)的功能完善、开源免费的CMS管理系统

解决The 'elasticsearch' backend requires the installation of 'elasticsearch'报错

2013-12-04

$./manage.py syncdb

Syncing...

Creating tables ...

MissingDependency: The 'elasticsearch' backend requires the installation of 'elasticsearch'. Please refer to the documentation.

最终定位到问题出现在

try:
    import elasticsearch
    from elasticsearch.helpers import bulk_index
except ImportError:
    raise MissingDependency("The 'elasticsearch' backend requires the installation of 'elasticsearch'. Please refer to the documentation.")

执行pip install elasticsearch就可以解决这个问题

类别:技术文章 | 阅读:366953 | 评论:0 | 标签:elasticsearch

想收藏或者和大家分享这篇好文章→

“解决The 'elasticsearch' backend requires the installation of 'elasticsearch'报错”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

taoCMS发布taoCMS 3.0.2(最后更新21年03月15日),请大家速速升级,欢迎大家试用和提出您宝贵的意见建议。

捐助与联系

☟请使用新浪微博联系我☟

☟在github上follow我☟

标签云