title: Trying to use Selenium 2 with Python bindings, but I'm getting an import error
body: <p>I just installed Selenium 2 by doing <code>pip install selenium</code> and just copied some example tests to make sure that it's working:</p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  
  driver = webdriver.Firefox()
  driver.get("http://www.python.org")
  assert "Python" in driver.title
  elem = driver.find_element_by_name("q")
  elem.send_keys("selenium")
  elem.send_keys(Keys.RETURN)
  assert "Google" in driver.title
  driver.close()
  </code></pre>
  
  <p>I saved that as <code>test.py</code> in a sub-folder in my Home folder on my Mac, but when ever I run <code>python test.py</code>, I get the following output:</p>
  
  <pre><code>Traceback (most recent call last):
    File "demo.py", line 1, in &lt;module&gt;
      from selenium import webdriver
  ImportError: cannot import name webdriver
  </code></pre>
  
  <p>If I move that file into my Home directory, it works. If you couldn't tell, I'm just getting started with Selenium and programming. Any help with this would be much appreciated.</p>