[Django]-DJANGO – FileNotFoundError: [Errno 2] No such file or directory: '' when trying to acess a file

2👍

Django cannot find the file because the current working directory is somewhere else

to check this out add this in your python file

print os.getcwd()

as Vishal Singh said in his comment use an absolute path instead of the relative one

Leave a comment