I am using firebase in my app and i am getting a syntax error while depolying

SyntaxError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).

Traceback:

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 562, in _run_script
    exec(code, module.__dict__)File "/app/smart-mob-cleaning-robot/pages/Sensor_Data.py", line 2, in <module>
    import pyrebaseFile "/home/appuser/venv/lib/python3.9/site-packages/pyrebase/__init__.py", line 1, in <module>
    from .pyrebase import initialize_appFile "/home/appuser/venv/lib/python3.9/site-packages/pyrebase/pyrebase.py", line 17, in <module>
    from oauth2client.service_account import ServiceAccountCredentialsFile "/home/appuser/venv/lib/python3.9/site-packages/oauth2client/service_account.py", line 25, in <module>
    from oauth2client import clientFile "/home/appuser/venv/lib/python3.9/site-packages/oauth2client/client.py", line 47, in <module>
    from oauth2client import cryptFile "/home/appuser/venv/lib/python3.9/site-packages/oauth2client/crypt.py", line 55, in <module>
    from oauth2client import _pycrypto_cryptFile "/home/appuser/venv/lib/python3.9/site-packages/oauth2client/_pycrypto_crypt.py", line 17, in <module>
    from Crypto.PublicKey import RSA

this is my app’s link- https://ironspy06-smart-mob-cleaning-robot-robot-zg7u22.streamlitapp.com/Sensor_Data

github link -GitHub - Ironspy06/Smart-Mob-Cleaning-Robot: Floor Cleaning Robot
Help me out!

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