ImportError: No module named 'httplib'
<p>My code: </p>

<pre><code>from selenium import webdriver
driver= webdriver.Firefox()
driver.get("http://google.com")
</code></pre>

<p>getting the following error messages </p>

<pre><code>File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/selenium/selenium.py", line 23, in &lt;module&gt;
NewjerseyCalifornia
    import http.client as http_client
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 71, in &lt;module&gt;
    import email.parser
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/email/parser.py", line 12, in &lt;module&gt;
    from email.feedparser import FeedParser, BytesFeedParser
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/email/feedparser.py", line 27, in &lt;module&gt;
    from email import message
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/email/message.py", line 16, in &lt;module&gt;
    from email import utils
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/email/utils.py", line 40, in &lt;module&gt;
    from email.charset import Charset
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/email/charset.py", line 15, in &lt;module&gt;
    import email.quoprimime
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/email/quoprimime.py", line 44, in &lt;module&gt;
    from string import ascii_letters, digits, hexdigits
ImportError: cannot import name 'ascii_letters'
</code></pre>

<p>During handling of the above exception, another exception occurred:</p>

<pre><code>Traceback (most recent call last):   File "/Users/asimali/PycharmProjects/Asim/com/introduction/Basics_Selenium.py", line 4, in &lt;module&gt;
    from selenium import webdriver   File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/selenium/__init__.py", line 18, in &lt;module&gt;
    from selenium import selenium   File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/selenium/selenium.py", line 25, in &lt;module&gt;
    import httplib as http_client ImportError: No module named 'httplib' Process finished with exit code 1
</code></pre>

<p>Note : I also ran the command <code>2to3 -w Basics_Selenium.py</code></p>