PermissionError:[Errno 13]权限被拒绝: [英] PermissionError: [Errno 13] Permission denied:

查看:6526
本文介绍了PermissionError:[Errno 13]权限被拒绝:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在txt文件中写入样条网格的顶点,但出现此错误:PermissionError:[Errno 13]权限被拒绝:'C \:Windows \ system32 \ vt_84.txt

I'm trying to write in a txt file the vertices of a spline mesh, but I get this error: PermissionError: [Errno 13] Permission denied: 'C\:Windows\system32\vt_84.txt

代码是

推荐答案

在其他位置尝试.由于您尝试编辑保存在C:Windows \ system32位置的文件,因此出现此错误.

Try at a different location. Since you are trying to edit a file kept at C:Windows\system32 location, you are getting this error.

另外,检查您的路径.它应该像C:\ Windows \ system32 \ vt_84.txt

also, check your path. It should be like C:\Windows\system32\vt_84.txt

这篇关于PermissionError:[Errno 13]权限被拒绝:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆