FileNotFoundError: [Errno 2] No such file or directory: 'gender_submission.csv'

Hello,
When i tried the host my streamlit app, I’m facing this issue FileNotFoundError: [Errno 2] No such file or directory: ‘gender_submission.csv’. Where should I place the CSV file for the application to read.

Hey @lokesh_balaji!

First, welcome to the Streamlit forum! :star: :tada: :tada: :star: :partying_face:

The most basic answer to this is in the same directory/folder as your project, ideally the same one as your app python file. If your csv file is in a subdirectory of that folder/directory you have to pass the path that the script has to follow to find the csv.

Happy Streamlit-ing!
Marisa

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.