我在Mac上安装了jupyter笔记本和python3内核。我试图使用命令安装Python 2的内核:python2 -m pip install ipykernel,但出现以下错误:Collecting ipykernel
Using cached ipykernel-4.6.1-py2-none-any.whl
Collecting jupyter-client (from ipykernel)
Using cached jupyter_client-5.1.0-py2.py3-none-any.whl
Collecting tornado>=4.0 (from ipykernel)
Using cached tornado-4.5.1.tar.gz
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/site-packages/pip/commands/install.py", line 335, in run
wb.build(autobuilding=True)
File "/usr/local/lib/python2.7/site-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/local/lib/python2.7/site-p