I want to install pandas in atom, however when I run
import pandas as pd
I get ImportError: No module named pandas
I'm confused why because I definitely have pandas downloaded (checked through pip --freeze
)
when I type python --version I get
Python 2.7.16 :: Anaconda, Inc.
Other answers to similar questions have suggested the problem is that pandas is installed on a different version of python. However, when I run
python2 -m pip install pandas
I get
Requirement already satisfied: pandas in ./opt/anaconda2/lib/python2.7/site-packages (0.24.2)
if pandas is downloaded to python 2.7 and im running python 2.7, I don't understand why it says it can't be found when trying to install it.