【问题标题】:Updating ipython - jupyter giving internal server error更新 ipython - jupyter 给出内部服务器错误
【发布时间】:2016-02-16 09:56:32
【问题描述】:

我刚刚升级了我的 ipython(版本 0.13.2,太旧了)

conda update ipython

然后安装jupyter

pip install jupyter

当我现在开始记事本时

jupyter notebook

我收到一个内部服务器错误,控制台上的错误堆栈似乎归结为

  File "//anaconda/lib/python2.7/site-packages/notebook/templates/tree.html", line 8, in template
    data-base-url="{{base_url | urlencode}}"
TemplateAssertionError: no filter named 'url encode'

关于我做错了什么/如何解决这个问题的任何想法?

【问题讨论】:

标签: python jupyter


【解决方案1】:

尝试用conda重新安装jupyter,删除pip安装的jupyter:

pip uninstall jupyter

并使用 conda 安装 jupyter:

conda install jupyter

【讨论】:

  • 谢谢。在我绝望中,我做了一个conda update --all,这似乎已经解决了。但是 pip 和 conda 有什么区别?我认为两者都会升级必要的依赖项等?
  • 查看该问题的答案:stackoverflow.com/questions/20994716/…
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-01-02
  • 1970-01-01
  • 2016-08-19
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多