Problem in running basic bokeh program

Hello
I followed all the steps in doc and installed bokeh and tried to run a basic program. But I am facing this error. Does anybody know how to fix it?

@BhaswatiRoy First, please do not post images of code. These are inaccessible to screen readers, etc. Please always only copy-paste actual text, and use code-formatting (either with the </> icon on the editing toolbar, or triple backtick ``` fences around the code blocks)

For your question: Jinja2 deprecated some APIs last year. As a result, the versions of Bokeh and Jinja2 that you have installed are incompatible. You either need to:

  • Update Bokeh to a newer version, or
  • Downgrade jinja2 to an older version

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.