refer to this link.
I have multiple environments in anaconda, but ipython breaks and often casts module not found
exception.
I had thought this is solved in this, but clearly it is not. python -m ipykernel install --user
enables only the full execution of ipython in only one environment, and all the other keeps breaking.
This doc from the official site describes in detail how to install ipython in multiple environments:
- switch to either environment and make sure
ipykernel
is installed
conda install ipykernel
- specify name for different environments
python -m ipykernel install --user --name other-env --display-name "Python (other-env)"