title: Already got html-parser for BS4 : Couldn't find a tree builder ... html-parser
body: <p>I installed beautifulsoup4 in my project's ​directory, using requirment.txt :</p>
  <blockquote>
  <p>requests==2.26.0
  beautifulsoup4==4.9.3
  html-parser</p>
  </blockquote>
  <pre><code>pip3 install -r requirement.txt --target='local_lib'
  </code></pre>
  <p>and I get this error when trying to import and run:</p>
  <pre><code>from local_lib.bs4 import BeautifulSoup
  soup = Beautifulsoup(html, 'html.parser')
  
  
  local_lib.bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html-parser. Do you need to install a parser library?
  </code></pre>
  <p>It works when I tried to import from bs4, not local_lib.bs4.
  However, I want to use only local_lib directory for modules.</p>
  <p>Why I get this error for my local_lib and How can I fix it?</p>