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
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.