I’d like to mention that my programming skills are more hobby like.
For most people it’s probably a bit of spaghetti code.
And I would like to thank the people for developing streamlit. It makes it easy to
create interactive web apps without having to deal with all that HTML/Java stuff.
Your requirements.txt is full of packages you probably don’t need, which often causes problems. It is bad practice do generate this file on a development system by pip freeze or similar.
Thanks Franky1. How would you create the requirements.txt else?
I will remove tk. It was an attempt to solve the tkinter problem.
Thanks to your advice with packages.txt I could solve it.
I do it always manually.
You know all the 3rd party libraries, that you are using in your code.
Everything else is resolved by the pip paket manager.
Other possibility would be to work in a virtual environment and only install the required libs in this environment and than use pip freeze.
However, even if i work in a virtual environment during development, i still write requirements.txt manually.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
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.
Performance cookies
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.
Functional cookies
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.
Targeting cookies
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.