FileNotFoundError: [Errno 2] No such file or directory - file in correct path

Hi,

I am having some issues when I create the app in streamlit cloud.
I tried in local using anaconda prompt:
1- Activate the environment
2- change the directory: cd + path
3- streamlit run file.py

And everything works fine.

But when I load the files to github and create the app with streamlit cloud, I have had a lot of issues. I have changed the versions of the requirements.txt until I have found the one which seems to work, but then I got this error:

FileNotFoundError: [Errno 2] No such file or directory:

And I maked sure that the file is in the correct path.

In my opinion, does not make any sense because it can be opened with the other method without problem.

Can anyone help me with this?

requirements.txt:
numpy==1.23.5
pandas==1.3.5
scikit_learn==1.2.2
streamlit==1.30.0
streamlit_echarts==0.4.0

I used python 3.11.

Thanks