在Jupyter Notebook中增加Python内核
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 本人在Python 3.6的环境下,安装了Jupyter pip3 install jupyter 进入到Jupyter Notebook后,点击Kernel菜单的Change kernel子菜单,只看到只有一个Python 3。如果这时想要增加Python 2的内核(Python 2.7),可通过以下方式操作 安装 ipykernel pip install ipykernel 在安装时,出现了报错 Complete output from command python setup.py egg_info: IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2. When using Python 2.7, please install IPython 5.x LTS Long Term Support version. Beginning with IPython 6.0, Python 3.3 and above is required. 也就是说最新版的 IPython 不支持 Python 2.7,这时可先单独安装ipython,并指定旧的版本号进行安装 pip install ipython==5.3.0 如果版本不存在的