跟使用mysql一样,不安装es驱动的话,也会触发模块找不到的错误
ImportError: No module named elasticsearch
通过pip安装
pip install elasticsearch