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

标签 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'

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

最佳答案

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

pip uninstall jupyter

并使用 conda 安装 jupyter:

conda install jupyter

关于python - 更新 ipython - jupyter 给出内部服务器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35429203/

相关文章:

python - 在 BeautifulSoup 解析中没有得到正确的响应

python - 在 Python 中更改对象的父类(super class)

python - 如何运行 C 程序并使用 Twisted Python 获取程序输出

python - Django OneToOneField,ManyToManyField,外键

python - matplotlib pyplot 无效的显示变量

linux - 在 IPython 中安装 lisp 内核

Python:SSLError、握手错误、意外的 EOF

python - 时间戳以秒为单位返回日期时间的年份

python - 删除 Jupyter Notebook 中的 plotly 子图中的 "This is the format of your plot grid:"

python - 使用 MultiIndex 在数据框中插入新列值?