title: “AttributeError: 'module' object has no attribute 'arma_order_select_ic'” when trying to run IPython script vs Python script
body: <p>I am trying to import a module from statsmodels, now I have a problem, when I import the file by </p>
  
  <pre><code>from statsmodels.tsa.stattools import arma_order_select_ic
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-14-6e5ef3c63065&gt; in &lt;module&gt;()
  ----&gt; 1 from statsmodels.tsa.stattools import arma_order_select_ic
  
  ImportError: cannot import name arma_order_select_ic
  </code></pre>
  
  <p>However, when I do this in my computer installed python it works fine. What is going wrong? I know that this might be due to the paths of each Ipython and Python. However, since I am new may anyone give me a detailed answer why this is happening and help me to make my it easy to import modules in Ipython. </p>