Hi and thank you for your response. This is what the requirements file looks like.
Note that I have tried specifying the versions but the same error occurs.
Moreover, the name of the file is requirements.txt
I successfully deployed an application with that requirements file. Of course I had to manually translate the pixels to text and that is prone to errors. Yet I don’t think the problem lies there.
So there is probably an issue with your requirements, but it doesn’t seem to be in that file. Note that there are several ways to specify requirements in streamlit cloud, requirements.txt is just one of them.
Given the fact that @Goyo had been able to recreate and deploy the requirements.txt file without any error, I would assume the package’s version on Streamlit Cloud IS NOT the same version as your code’s version.
Please use pip freeze to view the current version of PyYaml and update your requirements.txt accordingly.