Jupyter Notebook in Anaconda error: I couldn’t find a kernel matching Python 2. Please select a kernel:

If you set up Anaconda with Python 3.x and run into issues when trying to run a Python 2 notebook, this is what worked for me:

conda create --name whatevername python=2.7 numpy pandas matplotlib
source activate whatevername
conda install ipykernel
python -m ipykernel install --user
jupyter notebook &