title: Import Module Error for Python-Pandas in Atom (works fine in CLI???)
body: <p>Im new to Python and loving it. After a while coding console in Python core to get used to the syntax, I am now focusing on key plotting and analysis libraries of Pandas, Numpy, and Matplotlib. I expect to proceed with Scipy and PySpark in the near future. So far, Ive installed on my Mac OSX 10.11.3, Python 2.7.10, iPython, Matplotlib, Numpy and Pandas. I used</p>
  <blockquote>
  <p>pip install Pandas --upgrade</p>
  </blockquote>
  <p>to upgrade as follows: <code>Successfully installed numpy-1.10.4 pandas-0.17.1 pytz-2015.7 six-1.10.0</code></p>
  <p>I ran a project in python with:</p>
  <pre><code>import pandas as pd
  
  import numpy as np
  
  import matplotlib as plt
  </code></pre>
  <p>The project ran fine without errors in the CLI but return an error message when i ran it in Atom editor (it runs fine with numpy, matplotlib BUT not with pandas). The message is:</p>
  <pre><code>import pandas as pd
  ImportError: No module named pandas
  </code></pre>
  <p>As <code>pandas as pd</code> import works fine form the CLI, can anyone advise on why Atom editor would not be able to find it especially when it can find <code>Numpy as np</code> and <code>Matplotlib as plt</code> noting all 3 library folders are in the same <code>site-packages</code> folder on my Mac? Also, if is there anyway to get Atom to point to the pandas folder in site-packages on Mac?</p>
  <blockquote>
  <p>Update 6th Feb, 2016: I uninstalled pandas with <code>pip uninstall pandas</code> and reinstalled it to <code>site-packages</code> folder where numpy &amp; matplotlib are. The reinstall was done through <code>sudo easy_install pandas</code> and once again, pandas module is not found in Atom using CMD+i but is accessed by Python VM through CLI running of the program and <code>print pd.Series(x)</code> for example works find and return series array of x. As numpy and matplot lib are recognised in autocomplete in Atom as packages and panadas is not, I can only assume the &quot;input from console&quot; features of pandas I have yet to discover is why Atom does not link to Pandas. Can someone with experience on Python-pandas and Atom comment please and set me straight? Much appreciated... I would like to fix Atom as I like it and would like to use the CMD+i function instead of the CLI every 2 mins... lol.. thanks for your help..</p>
  <p>Update #2 6th Feb, 2016: Just to confirm, I have been working with DataFrames in Panda using the CLI and it works, it returns errors from Pandas error handling library proving I have Pandas and CLI allows it to work even though when I do CMD+i, it returns the no Pandas module message in Atom. Its either bad error handling by Atom or a bug not connecting with Pandas properly. Any thoughts on it are appreciated as I intend to work extensively with Pandas.</p>
  </blockquote>