我的 ubuntu 上安装了两个 python
sudo which python
which python
(蟒蛇)。
并且两个python都安装了ipython。当我运行ipython notebook
(anaconda)时,它只是将我带到浏览器并完美运行。但是,当我像 sudo ipython notebook
(从系统 python 调用)一样运行它时,它给了我一个错误。在这两种情况下,我都想在浏览器中运行 ipython。
我所做的:
我的 ubuntu 上安装了两个 python
sudo which python
which python
(蟒蛇)。并且两个python都安装了ipython。当我运行ipython notebook
(anaconda)时,它只是将我带到浏览器并完美运行。但是,当我像 sudo ipython notebook
(从系统 python 调用)一样运行它时,它给了我一个错误。在这两种情况下,我都想在浏览器中运行 ipython。
我所做的: