PermissionError: [Errno 13] Permission denied: './test.csv'
时间: 2023-10-17 09:34:29 浏览: 155
当在使用文件操作时,出现"PermissionError: [Errno 13] Permission denied: './test.csv'"的错误时,这意味着你对该文件的访问权限被拒绝了。 这可能是因为你没有足够的权限来读取或写入该文件。在Windows系统中,你可能需要明确指定文件的路径并确保你有足够的权限来操作该文件。你可以尝试更改文件路径或在文件操作之前获取足够的权限来解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [解决PermissionError: [Errno 13] Permission denied: ‘./data\\mnist\\train-images-idx3-ubyte](https://blog.csdn.net/sendiae/article/details/122301657)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [解决PermissionError: [Errno 13] Permission denied: ‘./data\\train-labels.idx1-ubyte](https://blog.csdn.net/m0_61385981/article/details/124309779)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文