EDITEDJupyter笔记本 - 安装python 2
我对python很陌生,有一个可能超级基本的问题。我已经安装了Jupyter Notebook,默认安装了包含python 3的anaconda。现在我想使用一个仍然可以在python 2.7下工作的外部工具箱,所以我试图用python 2.7获得e内核,建议为here。在巨蟒提示我打字
python2 -m pip install ipykernel
python2 -m ipykernel install --user
但它说,它找不到命令“python2”。任何想法?
您需要退出Python解释器才能运行bash命令 –
只是想知道为什么仍然使用python2? –
[为什么Python中的“pip install”会引发SyntaxError?](https://stackoverflow.com/questions/8548030/why-does-pip-install-inside-python-raise-a-syntaxerror) –