在Python中調用Redis報錯:AttributeError: module 'redis' has no attribute 'Redis'

很是愚蠢,沒有install redis模塊。python

sudo pip3 install redis
or
sudo easy_install redis
or
源碼安裝
詳見:https://github.com/WoLpH/redis-py
相關文章
相關標籤/搜索