title: How to fix "ImportError: cannot import name 'StringIO'"
body: <p>python version is 3.6.6 and pandas_datareader version is 0.7.0</p>
  
  <p>when i import pandas_datareader, an error occurs like below.</p>
  
  <pre><code>C:\PycharmProjects\Demo\venv\Scripts\python.exe C:/PycharmProjects/Demo/stock.py
  Traceback (most recent call last):
    File "C:/PycharmProjects/Demo/stock.py", line 3, in &lt;module&gt;
      import pandas_datareader as wb
    File "C:\PycharmProjects\Demo\venv\lib\site-packages\pandas_datareader\__init__.py", line 2, in &lt;module&gt;
      from .data import (DataReader, Options, get_components_yahoo,
    File "C:\PycharmProjects\Demo\venv\lib\site-packages\pandas_datareader\data.py", line 7, in &lt;module&gt;
      from pandas_datareader.av.forex import AVForexReader
    File "C:\PycharmProjects\Demo\venv\lib\site-packages\pandas_datareader\av\__init__.py", line 3, in &lt;module&gt;
      from pandas_datareader.base import _BaseReader
    File "C:\PycharmProjects\Demo\venv\lib\site-packages\pandas_datareader\base.py", line 11, in &lt;module&gt;
      from pandas.compat import StringIO, bytes_to_str
  ImportError: cannot import name 'StringIO'
  </code></pre>
  
  <p>can somebody help me?</p>