File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)File "/app/pyckpocket---machine-learning-et-bookmakers/pyckpocket.py", line 5, in <module>
from dataviz_streamlit import datavizFile "/app/pyckpocket---machine-learning-et-bookmakers/dataviz_streamlit.py", line 8, in <module>
from bokeh.models.widgets import Panel, Tabs
I already have a packages.txt file in my repo with “libgl1” in it.
I’m having issues installing the last version of bokeh.
I do “conda install -c bokeh bokeh” in Anaconda Powershell but it’s uploading 2.4.3 version instead of 3.0.3.
Can you help me again ?
Ah, i forgot, there was something about bokeh…
I think Streamlit is only compatible with Bokeh version 2.4.3.
You would have to adjust your Bokeh code parts based on Bokeh 2.4.3, then it should work together with Streamlit.
Edit:
I quickly started a virtual env and installed bokeh==2.4.3 and this gave me no error:
from bokeh.models.widgets import Panel
from bokeh.models.widgets import Tabs
Therefore i think, no changes in your code required, if you pin the version to bokeh==2.4.3