[ipython] install ipykernel in multiple environments 多conda环境安装使用ipython

版权声明:Copyright reserved to Hazekiah Wang ([email protected]) https://blog.csdn.net/u010909964/article/details/84748476

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:

  1. switch to either environment and make sure ipykernel is installed
    conda install ipykernel
  2. specify name for different environments
    python -m ipykernel install --user --name other-env --display-name "Python (other-env)"

猜你喜欢

转载自blog.csdn.net/u010909964/article/details/84748476
今日推荐