You will want to create separate condos for Python 2 and 3 (see information elsewhere on how to do this), with IPython installed in both of them. Then in each environment run:
ipython kernelspec install-self
This registers this kernel, so IPython can see it from outside the environment.
If you need more kernels for different environments, look at the files in ~/.ipython/kernels for how to describe them.
Thomas K
source share