Error deploying streamlit - tensorflow-intel

i am receiving this error. what to do .

ERROR: Could not find a version that satisfies the requirement tensorflow-intel==2.11.0 (from versions: 0.0.1)
ERROR: No matching distribution found for tensorflow-intel==2.11.0
WARNING: You are using pip version 22.0.3; however, version 23.0.1 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed

is only intended and available for win64 architectures and therefore not usable on streamlit cloud.

Try instead:

tensorflow==2.11.0

If you need further help, please share a link to your public github repo.

1 Like

thank you franky1

i removed tensorflow-intel and it is not giving me error anymore but it is still in the oven for more than 8 hours. i tried it twice but it is taking ages and not completing.

Cleanup your requirements.txt file, as far as i can see, you only need this content:

numpy
pandas
Pillow
opencv-python-headless
streamlit
streamlit-option-menu
tensorflow
split-folders

And rewrite your keras imports, it is part of tensorflow now.


But your app will not work anyway, because all the images will not be found, because you do not have access to your local filesystem:

main_dir = Path("Original Images")
1 Like

thank you franky1. now it’s working
https://johny1979-monkeypox-01-main-enkcg3.streamlit.app/

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