I have installed redis using sudo apt-get install redis-server command but I am receiving this error when I run my Python program: ImportError: No module
sudo apt-get install redis-server
ImportError: No module
I had the same issue, the error was that the default pip was 'pip3', and the redis package was installed under python3 packages.
This is not a redis specific issue, but if this is the case for you, try running:
sudo pip2 install redis