I have installed Anaconda, so I'm fairly sure I have installed Pandas.
However, when I run this in Sublime:
import pandas as pd
I get this message:
Traceback (most recent call last): File "/Users/user/Documents/Programming/Python/Python for Finance/7_4.py", line 184, in <module> import pandas as pd ImportError: No module named pandas [Finished in 0.4s with exit code 1]
But when I go to the terminal:
Python 2.7.8 |Anaconda 2.1.0 (x86_64)| (default, Aug 21 2014, 15:21:46) [GCC 4.2.1 (Apple Inc. build 5577)] on darwin >>> import pandas >>> import pandas as pd >>> pd.__version__ '0.15.1'
So I know I have pandas, and I've also updated anaconda to the newest version….
Chef-3:~ user$ conda update anaconda Fetching package metadata: .. # All requested packages already installed. # packages in environment at /Users/user/anaconda: # anaconda 2.1.0 np19py27_0
So what am I missing?