# How to upgrade pip in streamlit

**URL:** <https://discuss.streamlit.io/t/how-to-upgrade-pip-in-streamlit/37610>\
**Category:** Deployment\
**Tags:** tensorflow, streamlit-cloud\
**Created:** [February 12, 2023, 4:04pm UTC](https://discuss.streamlit.io/t/how-to-upgrade-pip-in-streamlit/37610 "2023-02-12T16:04:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![naresh-webdev](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/naresh-webdev/32/22888_2.png) [@naresh-webdev](https://discuss.streamlit.io/u/naresh-webdev)\
**Post date:** [February 12, 2023, 4:04pm UTC](https://discuss.streamlit.io/t/how-to-upgrade-pip-in-streamlit/37610/1 "2023-02-12T16:04:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Franky1](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/franky1/32/6509_2.png) [@Franky1](https://discuss.streamlit.io/u/Franky1)\
**Post date:** [February 12, 2023, 6:47pm UTC](https://discuss.streamlit.io/t/how-to-upgrade-pip-in-streamlit/37610/2 "2023-02-12T18:47:26Z")

</div>

Welcome to the community!

> [@naresh-webdev](#):
>
> and shows a warning to upgrade the pip

as far as I know, you can ignore this warning and it will not be the reason for the problems with tensorflow.

> [@naresh-webdev](#):
>
> gives me an error saying no appropriate version of tensorflow could be found

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`

[https://www.tensorflow.org/install](https://www.tensorflow.org/install)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [February 12, 2024, 6:48pm UTC](https://discuss.streamlit.io/t/how-to-upgrade-pip-in-streamlit/37610/3 "2024-02-12T18:48:15Z")

</div>

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