Py之ipykernel:Python库之ipykernel简介、安装、使用方法之详细攻略
Py之ipykernel:Python库之ipykernel简介、安装、使用方法之详细攻略
ipykernel简介
对于不同环境的内核,如果您希望为不同的虚拟机或CONDA环境设置多个IPython内核,则需要为KelnScript指定唯一的名称。
1、特点
IPython provides a rich architecture for interactive computing with:
- A powerful interactive shell.
- A kernel for Jupyter.
- Support for interactive data visualization and use of GUI toolkits.
- Flexible, embeddable interpreters to load into your own projects.
- Easy to use, high performance tools for parallel computing.
ipykernel
Installing the IPython kernel
ipykernel安装
pip install ipykernel
ipykernel使用方法
后期更新……
1、Kernels for Python 2 and 3
If you’re running Jupyter on Python 3, you can set up a Python 2 kernel after checking your version of pip is greater than 9.0:
python2 -m pip --version
Then install with
python2 -m pip install ipykernel python2 -m ipykernel install --user
Or using conda, create a Python 2 environment:
conda create -n ipykernel_py2 python=2 ipykernel source activate ipykernel_py2 # On Windows, remove the word 'source' python -m ipykernel install --user
2、How do I decide which packages I need?
赞 (0)