title: Couldn't find a tree builder with the features you requested: html.parser. Do you need to install a parser library?
body: <p>I'm developing some code for a lambda on AWS. </p>
  
  <pre><code># import libraries
  import urllib.request as urllib2
  from Packages.bs4 import BeautifulSoup
  import time
  import Packages.requests as requests
  import json
  
  def run(event, context):
  
      try:
  
          # specify the url
          quote_page = 'http://money.cnn.com/data/hotstocks/index.html';
  
          page = urllib2.urlopen(quote_page)
          soup = BeautifulSoup(page, 'html.parser')
  
          tickers = soup.find_all('a', attrs={'class':'wsod_symbol'})
  
          # api end point http://127.0.0.1:8000/api/TopStock/
  
          for i in range(13,23):
  
              url = 'http://127.0.0.1:8000/api/TopStock/'
  
              headers = {'Content-Type': 'application/json'}
  
              data = {
                  "ticker": tickers[i].text,
                  "date": str(time.strftime("%Y-%m-%d"))
              }
              response = requests.post(url, data=json.dumps(data), headers=headers)
  
              print(response.text)
  
              print( data )
  
          return dict(statusCode=200, body='working')
      except Exception as e:
          return dict(statusCode=500, body=str(e))
  
  print(run(0,0))
  </code></pre>
  
  <p>It runs fine on my env manage by anaconda. </p>
  
  <pre><code>from bs4 import BeautifulSoup
  </code></pre>
  
  <p>I have exported the packages and running it from in the project </p>
  
  <pre><code>from Packages.bs4 import BeautifulSoup
  </code></pre>
  
  <p>but I'm getting this issue </p>
  
  <blockquote>
    <p>Couldn't find a tree builder with the features you requested:
    html.parser. Do you need to install a parser library?</p>
  </blockquote>
  
  <p>I have tried </p>
  
  <ul>
  <li>pip install --upgrade lxml</li>
  <li>brew install libxslt1-dev libxml2 python-dev</li>
  </ul>
  
  <p>Can't get it to work :( </p>
  
  <blockquote>
    <p>running python 3.5 </p>
  </blockquote>