title: How can I from bs4 import BeautifulSoup?
body: <p>This code:  </p>
  
  <pre><code>from bs4 import BeautifulSoup  
  </code></pre>
  
  <p>Doesn't work, and gives this error :    </p>
  
  <pre><code>raise AttributeError, "'%s' object has no attribute '%s'" % (self.__class__.__name__,attr)    
                      ^
  SyntaxError: invalid syntax    
  </code></pre>
  
  <p>What should i do ?</p>