FileNotFoundError: [Errno 2] No such file or directory: 'model.pkl'

I keep getting this error FileNotFoundError: [Errno 2] No such file or directory: ‘model.pkl’ when I try to deploy but it works fine on my localhost. I made sure all the file names and paths are the same cases but will same error.

Hi Shedrach,

Could you show a snippet of code where you’re trying to load model.pkl? And could you send a screenshot of your repo showing what directory that file is located in?

Regards,

Matt

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