# FileNotFoundError: \[Errno 2\] No such file or directory: 'gender\_submission.csv'

**URL:** <https://discuss.streamlit.io/t/filenotfounderror-errno-2-no-such-file-or-directory-gender-submission-csv/19958>\
**Category:** Using Streamlit\
**Created:** [December 12, 2021, 5:52am UTC](https://discuss.streamlit.io/t/filenotfounderror-errno-2-no-such-file-or-directory-gender-submission-csv/19958 "2021-12-12T05:52:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lokesh\_balaji](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/lokesh_balaji/32/12232_2.png) [@lokesh\_balaji](https://discuss.streamlit.io/u/lokesh_balaji)\
**Post date:** [December 12, 2021, 5:52am UTC](https://discuss.streamlit.io/t/filenotfounderror-errno-2-no-such-file-or-directory-gender-submission-csv/19958/1 "2021-12-12T05:52:29Z")

</div>

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.

 ![image](https://global.discourse-cdn.com/streamlit/original/2X/0/055ba40a7b7d7f4b3b7e29299eb9a865cf4bd436.png)

---

<div class="post-metadata">

**Author:** ![Marisa\_Smith](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/marisa_smith/32/11154_2.png) [@Marisa\_Smith](https://discuss.streamlit.io/u/Marisa_Smith)\
**Post date:** [December 13, 2021, 4:28pm UTC](https://discuss.streamlit.io/t/filenotfounderror-errno-2-no-such-file-or-directory-gender-submission-csv/19958/2 "2021-12-13T16:28:04Z")

</div>

Hey @lokesh_balaji!

First, welcome to the Streamlit forum! ⭐ 🎉 🎉 ⭐ 🥳

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_

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [December 13, 2022, 4:28pm UTC](https://discuss.streamlit.io/t/filenotfounderror-errno-2-no-such-file-or-directory-gender-submission-csv/19958/3 "2022-12-13T16:28:26Z")

</div>

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