title: ModuleNotFoundError: No module named 'pandas.io' for json_normalize
body: <p>Please read carefully. In my Python script I have the following:</p>
  
  <pre><code>import json 
  import pandas
  from pandas.io.json import json_normalize
  </code></pre>
  
  <p>and it returns the following error:</p>
  
  <blockquote>
    <p>from pandas.io.json import json_normalize  ModuleNotFoundError: No
    module named 'pandas.io'; 'pandas' is not a package</p>
  </blockquote>
  
  <p>My steps: </p>
  
  <ul>
  <li>I have uninstalled and installed Pandas</li>
  <li>I have upgraded pip and pandas</li>
  <li>I have installed io (<code>pip install -U pandas.io</code>)</li>
  <li>I have installed data_reader and replaced the pandas.io.json part with that: <code>from pandas_datareader import json_normalize</code></li>
  </ul>
  
  <p>I have tried every solution I saw on stackoverflow and github and nothing worked. The only one I have not tried is installing Anaconda but it should work with what I tried before. Do you think it is a Windows setting things I must change?</p>
  
  <p>PS: My Python version is 3.7.4</p>