File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/", line 589, in _run_script
    exec(code, module.__dict__)File "/mount/src/singapore_house_resale/", line 12, in <module>
    data = pd.read_csv('C:/Users/Srinivasa Rao/OneDrive/Documents/GUVI_Projects/Singapore_House_Resale/mrt.csv')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/pandas/io/parsers/", line 1026, in read_csv
    return _read(filepath_or_buffer, kwds)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/pandas/io/parsers/", line 620, in _read
    parser = TextFileReader(filepath_or_buffer, **kwds)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/pandas/io/parsers/", line 1620, in __init__
    self._engine = self._make_engine(f, self.engine)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/pandas/io/parsers/", line 1880, in _make_engine
    self.handles = get_handle(
                   ^^^^^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/pandas/io/", line 873, in get_handle
    handle = open(

Hi @Bhaskar1,

Thanks for sharing your question with the community! :balloon: Please update your debugging post to include a code snippet and a link to your app’s public GitHub repo – this will allow the community to help you find an answer as quickly as possible. In the meantime, this post will be tagged as needs-more-info.

Thank you for responding Mrs. Caroline, I’m glad;
Here are the details;
github repo: GitHub - bhaskarachalla/Singapore_House_Resale
and the application:

Hey @Bhaskar1,

Please share the full error message as well (your original post includes only the truncated version).


This is the one!!

hi @Bhaskar1, since you deployed the project on streamlit cloud right. So all your files deployed in the streamlit debain cloud server. So in your code you mentioned your local directory path in code which works only in your local. Already, you have deployed the application in the cloud means, you need to pass that directory. Instead you pass the file directory. I have seen your github and your directory looks as follows:-

      --- # all your files

so on the streamlit cloud server, your directory will looks as above. So replace the following lines in the image with code attached below.

data = pd.read_csv('mrt.csv')
data1 = pd.read_csv('combined.csv')

Hope it works :smiley:

Happy Streamliting :balloon:

Thank you!! Mr. Guna Shekar Venkata, the problem is resolved with your help.

Enjoying Streamliting…

1 Like