1

I just upgraded my ipython (version 0.13.2, so quite old)

conda update ipython

then installed jupyter

pip install jupyter

When I now start a notebook

jupyter notebook

I get an internal server error, and an error stack on the console that seems to boil down to

  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'

Any ideas of what I did wrong/how to fix this?

Anne
  • 6,752
  • 8
  • 33
  • 50

1 Answers1

1

Try to reinstall jupyter with conda, remove pip installed jupyter:

pip uninstall jupyter

And install jupyter with conda:

conda install jupyter
Andriy Ivaneyko
  • 20,639
  • 6
  • 60
  • 82
  • Thanks. In my desperation I did a `conda update --all` and that seems to have fixed it. What's the difference between pip and conda though? I thought both would upgrade necessary dependencies etc? – Anne Feb 16 '16 at 10:26
  • 1
    Checkout answer to that question: http://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda – Andriy Ivaneyko Feb 16 '16 at 12:38