Hello,
I’ve built nice app which use plotly express, yfinance and openai.
Now is the time for publication in internet and I can’t run my script because of following error
Hello,
I’ve built nice app which use plotly express, yfinance and openai.
Now is the time for publication in internet and I can’t run my script because of following error
There is no requirements.txt
file in your repo.
Hey @Mike7205 ,
Inside your dev env, run “pip freeze” to find the working versions of all your packages that are imported and used in your streamlit app. Then, put them down in requirements.txt.
You’ll have to manually create this file and add in those libraries.
Here’s an example of my requirements.txt file from a previous project:
pandas<1.2.0
plotly==4.14.3
keras==2.9.0
Pillow==9.0.1
streamlit==1.10.0
tensorflow==2.9.1
protobuf<3.20,>=3.9.2
Add this to youre repo and please redeploy. This should solve the issue. In your case, you’d have to add plotly, express and yfinance. I would also suggest taking a look at Streamlit Documentation: App dependencies - Streamlit Docs
Hope this helps!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.