title: Python 3.5 Beautiful soup 4 Error UserWarning: No parser was explicitly specified
body: <p>I try to use BeautifulSoup 4. After I successfully installed, there is always some error and I can't fix it for "soup= BeautifulSoup(html)"</p>
  
  <p>When I use following code: </p>
  
  <pre><code>from bs4 import BeautifulSoup  
  soup = BeautifulSoup(html)
  </code></pre>
  
  <p>it shows the error:</p>
  
  <pre><code>//anaconda/lib/python3.5/site-packages/bs4/__init__.py:166: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). 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.
  
  To get rid of this warning, change this:
  
   BeautifulSoup([your markup])
  
  to this:
  
    BeautifulSoup([your markup], "lxml")
  
    markup_type=markup_type))
  Traceback (most recent call last):
  
     File "&lt;ipython-input-13-d4b16f497b1d&gt;", line 1, in &lt;module&gt;
  runfile('/Users/beckswu/Desktop/coursera/using python access web data/class 2.py', wdir='/Users/beckswu/Desktop/coursera/using python access web data')
  
     File "//anaconda/lib/python3.5/site-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 699, in runfile
  execfile(filename, namespace)
  
     File "//anaconda/lib/python3.5/site-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 88, in execfile
  exec(compile(open(filename, 'rb').read(), filename, 'exec'), namespace)
  
     File "/Users/beckswu/Desktop/coursera/using python access web data/class 2.py", line 37, in &lt;module&gt;
  soup = BeautifulSoup(html)
  
     File "//anaconda/lib/python3.5/site-packages/bs4/__init__.py", line 212, in __init__
  markup, from_encoding, exclude_encodings=exclude_encodings)):
  
     File "//anaconda/lib/python3.5/site-packages/bs4/builder/_lxml.py", line 108, in prepare_markup
  markup, try_encodings, is_html, exclude_encodings)
  
  TypeError: __init__() takes from 2 to 4 positional arguments but 5 were given
  </code></pre>
  
  <p>Then I change my code to </p>
  
  <pre><code>from bs4 import BeautifulSoup  
  soup = BeautifulSoup(html,"lxml")
  markup_type=markup_type))
  </code></pre>
  
  <p>It also shows the Error</p>
  
  <pre><code>    markup_type=markup_type))
                         ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>How can I fix that? I appreciate anyone's help.</p>