Getting Error While Deploying my app

link : https://brain-tumor-segmentation-using-unet.streamlit.app/

hi @Sachin_Bagale . Have you maintained requirementx.txt file in your root folder of GitHub repo. If not create a requirements.txt file in your too folder. Mention the packages which you have used in app.py file. If you maintained then you mentioned any package name wrongly may be. If possible could you share your requirements.txt for better understanding of your error !!!
Happy Streamliting

1 Like

Yes, I have maintained a requirements.txt file.

This is the error i am getting β†’
ERROR: Could not find a version that satisfies the requirement tensorflow_intel==2.15.0 (from versions: 0.0.1)
ERROR: No matching distribution found for tensorflow_intel==2.15.0
WARNING: You are using pip version 22.0.3; however, version 24.0 is available.
You should consider upgrading via the β€˜/home/adminuser/venv/bin/python -m pip install --upgrade pip’ command.
Checking if Streamlit is installed

────────────────────────────────────────────────────────────────────────────────────────

[10:01:00] :exclamation: installer returned a non-zero exit code
[10:01:00] :exclamation: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

Hi @Sachin_Bagale . I think tensorflow Intel is not required. I age reviewed your app.py in GitHub. It was related to brain tumor segmentation using uber right. So then use the following package in requirements.txt. Once done, don’t forget to reboot the app.

requirements.txt :-

streamlit
opencv-python-contrib-headless
tensorflow
matplotlib

yeah, i did the changes you said. But still it is giving error. ```
ERROR: Could not find a version that satisfies the requirement opencv-python-contrib-headless (from versions: none)


ERROR: No matching distribution found for opencv-python-contrib-headless


WARNING: You are using pip version 22.0.3; however, version 24.0 is available.


You should consider upgrading via the β€˜/home/adminuser/venv/bin/python -m pip install --upgrade pip’ command.


Checking if Streamlit is installed



────────────────────────────────────────────────────────────────────────────────────────



[18:28:42] :exclamation: installer returned a non-zero exit code


[18:28:42] :exclamation: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

@Sachin_Bagale then use opencv-python-headless

1 Like

Thanks! It worked finally.

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