title: How to unzip .rar file with Python and patoolib
body: <p>I need uncompress .rar file in Google Colab with Python3. First I tried to do localy in MacOS.</p>
  
  <p>I have installed Patoolib package:</p>
  
  <pre><code>pip install patool
  </code></pre>
  
  <p>and unrar to unzip .rar files</p>
  
  <pre><code>brew install unrar
  </code></pre>
  
  <p>Then, In my python script I do:</p>
  
  <pre><code>import patoolib
  patoolib.extract_archive("data_2/Peliculas.rar", outdir="/data_2")
  </code></pre>
  
  <p>and I get the following error :</p>
  
  <pre><code>PatoolError: could not find an executable program to extract format rar; candidates are (rar,unrar,7z),
  </code></pre>
  
  <p>I need to configure Patool to use unrar but there is no documentation available. Somebody knows how to solve this error?</p>