我用python安装HomeAssistant 时cmd显示OSError: [WinError 5] 拒绝访问该如何解决
问题描述:
我使用的是Windows10系统
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'C:\Users\24812\AppData\Local\Temp\pip-uninstall-jc3hz08b\pip3.exe'
Consider using the --user
option or check the permissions.
上面是错故内容
答
提示拒绝访问,是文件读取没有权限,建议用 --user参数试试。或者以管理员命令运行cmd,再pip安装。
答
谁拒绝访问就给谁授权,