Help needed, can host locally but cannot host on the community

File "/mount/src/stirdashboard/Dashboard.py", line 4, in <module>
    import pandas_datareader.data as webFile "/home/adminuser/venv/lib/python3.12/site-packages/pandas_datareader/__init__.py", line 5, in <module>
    from .data import (File "/home/adminuser/venv/lib/python3.12/site-packages/pandas_datareader/data.py", line 11, in <module>
    from pandas_datareader.av.forex import AVForexReaderFile "/home/adminuser/venv/lib/python3.12/site-packages/pandas_datareader/av/__init__.py", line 5, in <module>
    from pandas_datareader._utils import RemoteDataErrorFile "/home/adminuser/venv/lib/python3.12/site-packages/pandas_datareader/_utils.py", line 6, in <module>
    from pandas_datareader.compat import is_numberFile "/home/adminuser/venv/lib/python3.12/site-packages/pandas_datareader/compat/__init__.py", line 1, in <module>
    from distutils.version import LooseVersion

Please help

How do i downgrade python version to 3.11 , seems like the module only supports 3.11 but streamlit community uses 3.12

You’ll need to delete your app and redeploy it. You can only change the Python version during deployment (using “Advanced settings”).

File “/mount/src/stirdashboard/Dashboard.py”, line 6, in
import plotly.graph_objects as go

Thanks! Im getting this error for plotly importing module, it is able to run locally but when deploying i am getting this error, please advise

Pardon the error has been solved, can i also check with you if I made the link public and searchable will the public have access to my source code despite putting private in github? Thanks so much for your help!

Community Cloud doesn’t override you GitHub privacy settings. App privacy is set in Community Cloud. Code privacy is set in GitHub. You can set an app to be public or private independently of setting the repository to be public or private.