Hi everyone, i am trying To deploy my model but i am unable to do this. In my project i am using two modules
This two are not installing on the server and it’s throwing error.
Please help me if any have to solution for this.
For reference i am attaching the screenshots,
Have you created your requirements files appropriately so Streamlit Cloud knows to install packages?
Create a file named
requirements.txt alongside your main app with:
Yes , a proper requirements.txt file is created all other dependencies are installed except yfinace and deta
Please can you link your repository?
Although, I just noticed: Your error message says
yfinance. Can you double check spelling in both your requirements file and your code?
Spelling corrected then also its not working
A couple things you can try:
Reboot your app after any environment changes to make sure nothing is stuck. If that’s no good, let me know what the current error reads.
If you are getting any install errors prior to attempting to run your app, you may try minimizing your requirements file. Streamlit (and all its dependencies) are installed by default and don’t need to be in the Streamlit Cloud requirements file.
There’s a typo in your dependency file name. It’s
requirements.txt, not requirments.txt.