title: Beautiful soup module error(html parser)
body: <p>I use beautifulsoup to find the number of pages on a webpage however when I write my code: </p>
  
  <pre><code>#!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import urllib2
  import requests
  import BeautifulSoup
  
  
  soup = BeautifulSoup(response.text)
  pages = soup.select('div.pagination a')
  
  a = int(pages[-2].text)
  print a
  </code></pre>
  
  <p>It gives the following error:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):   File
    "C:/Users/HangaarLab/Desktop/sonartik/sonartik.py", line 13, in
    
        soup = BeautifulSoup(response.text) TypeError: 'module' object is not callable</p>
    
    <p>In another computer the code runs but it gives this warning: 
    UserWarning: No parser was explicitly specified, so I'm using the best
    available HTML parser for this system ("html.parser"). This usually
    isn't a problem, but if you run this code on another system, or in a
    different virtual environment, it may use a different parser and
    behave differently.The code that caused this warning is on line 14 of
    the file C:/Users/Ar�elik/Desktop/sikayet/klo.py. To get rid of this
    warning, pass the additional argument 'features="html.parser"' to the
    BeautifulSoup constructor.</p>
  </blockquote>
  
  <p>I need the code to work in the computer that gives the first error. What should I do?</p>