No module named Tensorflow

Hello my app is deployed on Community Cloud : https://ltdunifi.streamlit.app
and this is the public GitHub repository GitHub - gabrielebiagini/ltd
The error message is related to the tensorflow import:

File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
    exec(code, module.__dict__)File "/mount/src/ltd/Funghi5.py", line 4, in <module>
    import tensorflow as tf

what i cannot get, even searching to other similiar issues, is that the tensorflow module is present in the requirements.
Thank you in advance

  1. Remove the packages you don’t use and try this one below :arrow_down:
  2. Do a reboot of the app
numpy
pillow
matplotlib
streamlit
opencv-python-headless
tensorflow

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