title: AttributeError: 'module' object has no attribute 'loads' while parsing json in python
body: <p>I am getting this error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "C:/Users/Shivam/Desktop/jsparse.py", line 13, in &lt;module&gt;
  info = json.loads(str(data))
  AttributeError: 'module' object has no attribute 'loads'
  </code></pre>
  
  <p>Any thoughts what wrong I am doing here?</p>
  
  <p>This is my code:</p>
  
  <pre><code>import json
  import urllib
  url = ''
  uh = urllib.urlopen(url)
  data = uh.read()
  info = json.loads(str(data))
  </code></pre>