Error installing requirements, because locking failed

I wanted to deploy my streamlit app on streamlit cloud, but I always get the error, that it can’t install the requirements.txt. The problem is, when I go into the terminal, I get the error that the locking failed. I don’t understand the rest of the error message:

Everything that is hidden is just the project name/path name, but I am not allowed to show it (It is a project for my job)

Additional information:

  • Normally, I run it on Python 3.10. I also did this several times with Streamlit Cloud, but it shows the same error. So that is not the fix.
  • All my dependencies work well together. It works perfectly fine locally and in a remote docker environment, just not with streamlit.
  • My dependencies: