title: Redis ERR unknown command 'BZPOPMIN'
body: <p>I installed Redis version 4.0.9 in a Ubuntu Linux Subsystem on Windows 10 by following <a href="https://redislabs.com/blog/redis-on-windows-10/" rel="noreferrer">these instructions</a> (i.e. <code>sudo apt-get install redis-server</code>).</p>
  <p>I am following <a href="https://channels.readthedocs.io/en/latest/tutorial/part_2.html" rel="noreferrer">this tutorial</a> on Django channels, and I ran the following code:</p>
  <pre><code>&gt;&gt;&gt; import channels.layers
  &gt;&gt;&gt; channel_layer = channels.layers.get_channel_layer()
  &gt;&gt;&gt; from asgiref.sync import async_to_sync
  &gt;&gt;&gt; async_to_sync(channel_layer.send)('test_channel', {'type': 'hello'})
  &gt;&gt;&gt; async_to_sync(channel_layer.receive)('test_channel')
  </code></pre>
  <p>When the last line above is executed, I get this error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;&lt;input&gt;&quot;, line 1, in &lt;module&gt;
    File &quot;C:\Users\xyz\Anaconda3\envs\django\lib\site-packages\asgiref\sync.py&quot;, line 120, in __call__
      return call_result.result()
    File &quot;C:\Users\xyz\Anaconda3\envs\django\lib\concurrent\futures\_base.py&quot;, line 425, in result
      return self.__get_result()
    File &quot;C:\Users\xyz\Anaconda3\envs\django\lib\concurrent\futures\_base.py&quot;, line 384, in __get_result
      raise self._exception
    File &quot;C:\Users\xyz\Anaconda3\envs\django\lib\site-packages\asgiref\sync.py&quot;, line 180, in main_wrap
      result = await self.awaitable(*args, **kwargs)
    File &quot;C:\Users\xyz\Anaconda3\envs\django\lib\site-packages\channels_redis\core.py&quot;, line 485, in receive
      return (await self.receive_single(channel))[1]
    File &quot;C:\Users\xyz\Anaconda3\envs\django\lib\site-packages\channels_redis\core.py&quot;, line 508, in receive_single
      index, channel_key, timeout=self.brpop_timeout
    File &quot;C:\Users\xyz\Anaconda3\envs\django\lib\site-packages\channels_redis\core.py&quot;, line 345, in _brpop_with_clean
      result = await connection.bzpopmin(channel, timeout=timeout)
  aioredis.errors.ReplyError: ERR unknown command 'BZPOPMIN'
  </code></pre>
  <p>On <a href="https://github.com/redis/hiredis/issues/649" rel="noreferrer">this page</a>, someone suggested using Redis version 5. How do I install Redis version 5 on Windows 10? Any other ideas on how to solve this issue?</p>