You have several Python 2 engines installed. One on your main OS platform, the other in Anaconda's virtual environment. You need to install Panda on the latter.
Run the Bash command prompt:
which python
Then run the following in Jupyter / IPython and compare the result with the output obtained from the Bash script:
from sys import executable
print(executable)
, (.. ), Bash :
<the 2nd output> -m pip install pandas
:
/usr/bin/anaconda/python2 -m pip install pandas
Pandas Anaconda Python.
, sys.path.append('path to alternative locations')
, , , .
:
python -m pip install cython scipy panda matplotlib jupyter notebook ipython
Update:
:
homebrew
:
:
xcode-select
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
:
brew doctor
brew update
brew upgrade
Python 2 Brew:
brew install python
Python 3
brew install python3
. !
brew install git conda gfortran clang pkg-config
brew, pip
, , pip
.
easy_install pip
Python (NumPy SciPy, SciPy Matplotlib Cython C, Scipy fortran ODE):
python2 -m install cython scipy pandas matplotlib jupyter
Python 3.
. , Python Python.org . brew
- , , . Python 2, brew
. OS X. , -. OS X , . , , brew install python3
.