I installed multiple Ipython kernels, but after this I cannot import numpy, pandas
Question: I wanted to be able to use both python 2.x and 3.x so I installed multiple
kernels as follows, as per the instructions in this question ([Using both
Python 2.x and Python 3.x in IPython
Notebook](http://stackoverflow.com/questions/30492623/using-both-
python-2-x-and-python-3-x-in-ipython-notebook))

To configure the python2.7 environment:

    
    
    conda create -n py27 python=2.7`
    source activate py27`
    conda install notebook ipykernel`
    ipython kernel install --user
    

and

To configure the python3.5 environment:

    
    
    conda create -n py35 python=3.5
    source activate py35
    conda install notebook ipykernel
    ipython kernel install --user
    

Now I can choose between python 2 and 3 in the notebook. But when I tried to
import either numpy or pandas I get the import error

**Import error:No module named numpy**

**I tried to uninstall Anaconda and reinstall it and then install jupyter
notebook, NOW I Cannot even start jupyter notebook it says 'Kernel Error'**

Can some one please help me out?


Answer: You need to do the following in each environment:

    
    
    conda install numpy
    

You could also have done this on creation:

    
    
    conda create -n py35 python=3.5 notebook ipykernel numpy
    

