更新ipython - jupyter给内部服务器错误

时间:2016-02-16 09:56:33

标签: python jupyter

我刚刚升级了我的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'

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

1 个答案:

答案 0 :(得分:1)

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

pip uninstall jupyter

用conda安装jupyter:

conda install jupyter