FileNotFoundError: [Errno 2] No such file or directory: 'clean_data\\ener_conso_full.csv'

Hi there !

I wish you are all well :smiley:

I do have a really weird think happening when I try launch the app
FileNotFoundError: [Errno 2] No such file or directory: ‘clean_data\ener_conso_full.csv’

it seems weird, I try with ./clean_data/ener_conso_full.csv also and it doesn’t work, my app won’t launch.

I don’t know maybe csv file goes to another directory ?

here is my repo for my app :

I would appreciate a lot some help ! :pray:

Thanks !

up :pray:

I’m still lost on this one, really don’t know why the app can’t read my csv, on local it works perfectly :frowning:

Hi @Oubaluna, welcome to the Streamlit community!

The GitHub link doesn’t appear to be public, so we can’t take a look at your code.


Hi @randyzwitch,

Oooops that right, my bad there, here is the link !! read several csv like this :
conso = pd.read_csv(‘clean_data\ener_conso_full.csv’,

it work well on local but not on streamlit share :confused:

I want to make a little edit (after running several different test) : I put my ener full conso csv in the main branch (without a directory) and it recognize it. Problem is I have like 10 csv and it will be a mess if I put everything not in a folder :frowning:

is there another way to do it ?
thank you !