Hello,
Several months ago i developed a streamlit multipage app and deployed it through Streamlit cloud.
All worked fine, till 4-5 days ago, in a page of it display an error. Localy all works fine.
In this section of the fault i use a package called “biosignalsnotebooks”.
-
I have run the command pipreqs to create automatically the requirements.txt file.
-
The github page of biosignalsnotebooks package , https://github.com/pluxbiosignals/biosignalsnotebooks
-
Here is the screenshot after rebooting the app
Traceback Error
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
exec(code, module.__dict__)
File "/app/jumps-metrics-streamlit-prod/pages/3_Calculate_Results.py", line 7, in <module>
import biosignalsnotebooks as bsnb
File "/home/appuser/venv/lib/python3.9/site-packages/biosignalsnotebooks/__init__.py", line 68, in <module>
from .detect import *
File "/home/appuser/venv/lib/python3.9/site-packages/biosignalsnotebooks/detect.py", line 65, in <module>
from .visualise import plot, opensignals_kwargs, opensignals_style, opensignals_color_pallet
File "/home/appuser/venv/lib/python3.9/site-packages/biosignalsnotebooks/visualise.py", line 46, in <module>
from bokeh.plotting.figure import FigureOptions
and the Error in blackboard
[20:43:03] 📦 Processed dependencies!
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.
2022-11-08 20:43:18.074 Uncaught app exception
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
exec(code, module.__dict__)
File "/app/jumps-metrics-streamlit-prod/pages/3_Calculate_Results.py", line 7, in <module>
import biosignalsnotebooks as bsnb
File "/home/appuser/venv/lib/python3.9/site-packages/biosignalsnotebooks/__init__.py", line 68, in <module>
from .detect import *
File "/home/appuser/venv/lib/python3.9/site-packages/biosignalsnotebooks/detect.py", line 65, in <module>
from .visualise import plot, opensignals_kwargs, opensignals_style, opensignals_color_pallet
File "/home/appuser/venv/lib/python3.9/site-packages/biosignalsnotebooks/visualise.py", line 46, in <module>
from bokeh.plotting.figure import FigureOptions
ModuleNotFoundError: No module named 'bokeh.plotting.figure'
( In the app code i dont use bokeh package at all. )
I dont know what is the problem! Any kind of help , would be appreciated!
Thank you!