Yes kaggle use read-only file system and that means you can not export your model to there. You can give an adress parameter to export() . I don’t remember how it was exactly but you can find it quickly. You can change adress to (’/tmpt/models’).Regards
Change your directory to /kaggle/working and make the exported model as output and commit the kernel. You would be able to download the output when the kernel is run completely.
I was not having any issue while exporting model.pkl file, however it was not being saved under /kaggle/working. Once I gave explicit path as you suggested, then it worked. Thanks!