Permission denied when pandas dataframe to tempfile csv

后端 未结 6 2085

I\'m trying to store a pandas dataframe to a tempfile in csv format (in windows), but am being hit by:

[Errno 13] Permission denied: \'C:\\Users\\Username\\AppData\\Loca

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-20 02:49

    As per my knowledge, this error pops up when one attempt to save the file that have been saved already and currently open in the background.

    You may try closing those files first and then rerun the code.

提交回复
热议问题