Problem with app deploy due to sklearn.impute module

Hi.
I need help, I try to deploy my app but sklearn.impute not found, it work localy
How can I do ?
See the error below please

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 556, in _run_script
    exec(code, module.__dict__)File "/app/webapp/main.py", line 5, in <module>
    from sklearn.impute import SimpleImputer

That is the traceback. What is the actual error message?

You might need to read about installing dependencies in streamlit cloud anyway:

Thanks @Goyo! You were spot on. A requirements.txt file containing the Python dependencies is missing from the repo.

Hi, thanks,
That solve my issue, thank you very much.
But I want to know if the app must automatically update if the code in GitHub changes.
I have changed my code but the app does not.
Thanks!

Hi, I was trying to deploy my app and I get google authentication error. I get my data from google drive using api.
Here’s an error:
File “/app/visuals/Visuals.py”, line 12, in
s_account = pygsheets.authorize(service_account_file= ‘service_account.json’)
File “/home/appuser/venv/lib/python3.9/site-packages/pygsheets/authorization.py”, line 127, in authorize
credentials = service_account.Credentials.from_service_account_file(service_account_file, scopes=scopes)

@ckoria Please create new topic if your issue is unrelated to sklearn.impute.