【发布时间】:2018-04-08 15:41:32
【问题描述】:
我尝试按照说明安装 jupyter:
sudo easy_install pip
python -m pip install --upgrade pip
python -m pip install jupyter
一切正常 - 安装时
python -m pip install jupyter
这个出现了:
ipython 5.6.0 requires backports.shutil-get-terminal-size; python_version == "2.7", which is not installed.
也已修复,带有
pip install --upgrade backports.shutil_get_terminal_size
Collecting backports.shutil_get_terminal_size
Using cached backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
matplotlib 1.3.1 requires nose, which is not installed.
matplotlib 1.3.1 requires tornado, which is not installed.
matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
Installing collected packages: backports.shutil-get-terminal-size
我只是忽略了 matplotlib 的所有内容。
但后来我尝试运行 jupyter 输入 bash:
jupyter notebook
我得到的是:
-bash: jupyter: command not found
我已经试过了
open -e ~/.bashrc
喜欢这里的建议: After installing with pip, -bash: Jupyter: command not found 但这出现了:
The file /Users/ME/.bashrc does not exist.
也试过after installing jupyter locally, I can't run jupyter notebook
~/.local/bin/jupyter
-bash: cd: /.local/bin/jupyter: No such file or directory
有人知道如何解决这个问题吗?
【问题讨论】:
-
潜在问题:(1)我相信它是 .bashrc,而不是 bashrc(有一个点)。 (2)我认为应该是.local,而不是local(再点) (3)~/.local/bin/jupyter 和/local/bin/jupyter 不一样。我不知道这些是否能解决你的问题,所以这不是一个答案,但值得检查一次。
-
@GoodDeeds 我试过了,但没用。
标签: bash jupyter-notebook jupyter