title: Attribute error: module 'requests' has no attribute 'Session' in pandas-DataReader
body: <p>I am trying to follow <a href="https://kylelix7.github.io/Efficient-Frontier-Explained-with-SciPy/" rel="nofollow noreferrer">this</a> tutorial. However the line:</p>
  
  <pre class="lang-py prettyprint-override"><code>portfolio = web.DataReader(name=symbol, data_source='quandl', start=start, end=end)
  </code></pre>
  
  <p>is causing errors. After looking at the documentation, I have converted it to:</p>
  
  <pre class="lang-py prettyprint-override"><code>portfolio = pdr.DataReader(name=symbol, data_source='quandl', start=start, end=end)
  </code></pre>
  
  <p>but I still get the same error:<br>
  <strong>AttributeError: module 'requests' has no attribute 'Session'</strong></p>
  
  <p>this is being called from:
  "/home/john/.conda/envs/optimizer/lib/python3.8/site-packages/pandas_datareader/_utils.py"</p>
  
  <hr>
  
  <p>Also fails the same as <a href="https://github.com/psf/requests/issues/5329" rel="nofollow noreferrer">this</a> question. (Question closed with no solution)</p>
  
  <h3>Recreate</h3>
  
  <p>conda install pandas<br>
  conda install -c anaconda pandas-datareader</p>
  
  <pre><code>$ python
  &gt;&gt;&gt; import requests
  &gt;&gt;&gt; requests.Session()
  
  AttributeError: module 'requests' has no attribute 'Session'
  </code></pre>
  
  <p>According to <a href="https://github.com/psf/requests/issues/5329" rel="nofollow noreferrer">this</a> request, that should work, but it does not. I think the error is with requests, not with pandas-datareader.</p>
  
  <hr>
  
  <p>Edit :: added more information</p>