title: Python AttributeError: 'module' object has no attribute 'get'
body: <p>I installed the requests package, but when I start to use it, I got this error : </p>
  
  <pre><code>AttributeError: 'module' object has no attribute 'get'
  </code></pre>
  
  <p>This my code :</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import requests 
  
  r = requests.get("http://someSite.com/path")
  </code></pre>
  
  <p>I checked some solution to this problem, and most of them saying that either there is a mistake with importing the package, or that a file with the name requests.py exist in the current directory, but it's not the case for me.</p>
  
  <p>it's been a while since I got this error, and I stuck with it.</p>
  
  <p>any idea? thanks.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>FULL error message</p>
  
  <pre><code>Traceback (most recent call last):
    File "parser.py", line 2, in &lt;module&gt;
      import requests 
    File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 52, in &lt;module&gt;
      from .packages.urllib3.contrib import pyopenssl
    File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 47, in &lt;module&gt;
      from cryptography import x509
    File "/usr/local/lib/python2.7/dist-packages/cryptography/x509/__init__.py", line 7, in &lt;module&gt;
      from cryptography.x509.base import (
    File "/usr/local/lib/python2.7/dist-packages/cryptography/x509/base.py", line 14, in &lt;module&gt;
      from cryptography.hazmat.primitives.asymmetric import dsa, ec, rsa
    File "/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/primitives/asymmetric/rsa.py", line 14, in &lt;module&gt;
      from cryptography.hazmat.backends.interfaces import RSABackend
    File "/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/backends/__init__.py", line 7, in &lt;module&gt;
      import pkg_resources
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 76, in &lt;module&gt;
      import parser
    File "/home/lichiheb/Desktop/parser.py", line 4, in &lt;module&gt;
      r = requests.get("http://t...content-available-to-author-only...s.com/search-results-jobs/?searchId=1483197031.949&amp;action=search&amp;page=1&amp;view=list")
  AttributeError: 'module' object has no attribute 'get'
  </code></pre>