HoloViews graphs with Bokeh backend

Hello!

I am trying to deploy a streamlit app which renders a couple of graphs based on HoloViews using bokeh as backend/extension.

It is a multipage app, so the issue can be seen in page Asset_Classes.

The issue is seen in the code:

hv.extension(‘bokeh’)

with error:

raise ImportError('None of the backends could be imported')

The link to the app is:
https://vasconomics.streamlit.app/Asset_Classes

The corresponding python file with the code can be found in GitHub here:
https://github.com/vlaranjo/Vasconomics_Dashboard/blob/main/App/pages/1_%F0%9F%8C%90Asset_Classes.py

Can anyone help?

Thanks,
Vasco

I think you forgot installing bokeh.

Hi Goyo,

Thanks a lot for the fast response.

I included bokeh now in the requirements.txt file and the issue is still there.
https://github.com/vlaranjo/Vasconomics_Dashboard/blob/main/App/requirements.txt

Any other idea?

Thanks,
Vasco

It is now working. I don’t know what happened to be honest, probably something related with the versions in the requirements.

Thanks a lot!

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