Can't deploy the project because it "can't find the version that satisfies the requirement"

ERROR: Could not find a version that satisfies the requirement anaconda-navigator==2.3.1 (from versions: none)
ERROR: No matching distribution found for anaconda-navigator==2.3.1

The project runs fine on my local machine. But during deployment on streamlit, it shows this error continuously.

anaconda-navigator is a graphical user interface and I don’t know of a valid reason for including that in your environment setup. Make sure you are specifying your environment with only the things needed to make your app run. The simplest way to do this is with a requirements.txt file where each thing you need to pip install on a separate line. (You don’t need to include streamlit since that is installed by default, and you don’t want to include anything that is a built-in module for Python like math or base64. Otherwise, you want to include all the things you use in your import statements within your code.

(Also, if you were using some other environment specification, make sure you only have one in the end since Streamlit Cloud will just use the first one it comes to.)

If you still have issues, please share your repository so we can see how you are configuring your environment.