I have a streamlit application which makes uses of many libraries, and the most important one is tensorflow, without which the app does not work, and when I specified it inside requirements.txt file, and when streamlit tries to download , it gives me an error saying no appropriate version of tensorflow could be found and shows a warning to upgrade the pip, I faced the same issue during the development process but I somehow managed to fix it by upgrading the pip to the latest version and downgrading the version of my python, currently I run the latest version of pip, but still it shows to upgrade pip, how do I make streamlit to use the latest version of pip.
I am new to python and machine learning so please explain in detailed manner. Any response is welcomed and thanks in advance.
as far as I know, you can ignore this warning and it will not be the reason for the problems with tensorflow.
I can only guess, but would guess that the tensorflow version you specified is not available for this python version.
It would be very helpful if you post a link to your public github repository right away so people can take a look. And please be specific, are you talking about your local installation or deployment to streamlit cloud?
Which version of python do you run?
Which version of tensorflow do you need?
AFAIK the streamlit cloud runtimes use pip 23.0 and the Tensorflow 2 installation requires at least pip > 19.0
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.