【问题标题】:Ipython3 notebook in Ubuntu 12.04Ubuntu 12.04 中的 Ipython3 笔记本
【发布时间】:2014-05-03 04:39:02
【问题描述】:

我一直在 Ubuntu 12.04 LTS 中使用 Ipython notebook。我有最新版本的 Python 3,但我看到笔记本在旧版本的 Python 2 中运行。然后我通过命令 sudo apt-get install ipython3 安装了 ipython3,并且在终端中 ipython3 运行良好。但我看到 ipython notebook 没有默认安装。因此,当我在终端中输入 sudo apt-get install ipython3-notebook 时,它会显示如下错误消息:

     ipython3-notebook : Depends: ipython3 (= 0.13.2-1~ubuntu12.04.1) but 0.12.1+dfsg-0ubuntu1 is to be  installed
     E: Unable to correct problems, you have held broken packages.

任何解决方案如何在 Python 3 中安装 ipython 笔记本?

【问题讨论】:

  • 这个链接可能对你有帮助,问题已经回答:[Link][1] [1]: stackoverflow.com/questions/20360293/…
  • 我已经看到了这个答案,但无法启动笔记本。这就是为什么我不得不问这个问题。

标签: python ubuntu ipython-notebook


【解决方案1】:

我也遇到过同样的问题。

这似乎是因为包管理器必须在 ipython3 包的版本之间进行选择(反向移植和发布,例如 https://launchpad.net/ubuntu/precise/+package/ipython3)

我已经通过指定版本解决了这个问题:

sudo apt-get install ipython3=0.13.2-1~ubuntu12.04.1
sudo apt-get install ipython3-notebook=0.13.2-1~ubuntu12.04.1

【讨论】:

  • 自从发表这篇文章后,这已更改为` sudo apt-get install ipython3-notebook `
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2014-01-04
  • 1970-01-01
  • 2016-07-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多