【问题标题】:Fail Jupyter Notebook installation on clean Ubuntu 14.04 LTS在干净的 Ubuntu 14.04 LTS 上安装 Jupyter Notebook 失败
【发布时间】:2015-04-29 12:06:51
【问题描述】:

如何安装开发版的 Jupyter Notebook?

$ wget https://bootstrap.pypa.io/get-pip.py
$ sudo python get-pip.py
$ sudo pip install virtualenv
$ cd ~
$ virtualenv local/python/jupyter
$ source local/python/jupyter/bin/activate
$ git clone --recursive https://github.com/ipython/ipython.git
$ cd ipython
$ pip install -e ".[notebook]"

Could not find a version that satisfies the requirement jupyter-notebook (from ipython==4.0.0.dev0) (from versions: )
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external jupyter-notebook to allow).
No matching distribution found for jupyter-notebook (from ipython==4.0.0.dev0)

【问题讨论】:

    标签: ipython ubuntu-14.04 ipython-notebook jupyter


    【解决方案1】:

    您现在是否必须从 Jupyter 存储库安装,因为自从 jupyter 发布以来事情正在发生变化?下一个版本不仅适用于 ipython,还适用于 julia 和 bash 等其他内核。

    来自https://github.com/jupyter/jupyter_notebook

    Create a virtual env (ie jupyter-dev)
    ensure that you have node/npm installed (ie brew install node on OS X)
    Clone this repo and cd into it
    pip install -r requirements.txt
    pip install -e .
    

    【讨论】:

    • 是否可以添加 Julia 或 R 内核?
    • @Jean-Pat 您可以查看此try.jupyter.org 了解多种语言。 Jupyter 可以支持多种内核,因此不仅是 Ipython,还包括 Bash 或 Julia 或 R。你可以在那里看到 notebook。
    猜你喜欢
    • 2015-09-25
    • 1970-01-01
    • 2015-05-31
    • 2015-08-30
    • 2018-05-02
    • 2023-03-31
    • 2015-06-08
    • 1970-01-01
    • 2016-02-24
    相关资源
    最近更新 更多