很是愚蠢,沒有install redis模塊。python
sudo pip3 install redis or sudo easy_install redis or 源碼安裝 詳見:https://github.com/WoLpH/redis-py