一条龙操作有效解决PermissionError: [WinError 5] 拒绝访问的问题

简介: 一条龙操作有效解决PermissionError: [WinError 5] 拒绝访问的问题

1 问题描述


当在使用pip install 安装包时,如:pip install scrapy scrapyd scrapyd-client spiderkeeper
出现报错:PermissionError: [WinError 5] 拒绝访问。: ‘c:\programdata\anaconda3\lib\site-packages\dateutil\easter.py’


2 解决办法:通过更改ananconda的权限解决


2.1 找到programdata下anaconda3的python


ca5dd029f01344d0933c9df7936219c0.png


e0b1f1e170f342feb876ffb6618ff15a.png


2.2 进入Users的权限,将除了特殊权限外,全部挂上√。


51c4c6d802ae46479992e550a1c3f69c.png


点击应用,点击确定


2.3 在返回到anaconda3的目录,进入anaconda3的属性,设置权限


7148a54ce95e438fa2b3e28ebf34ce38.png


进入Users的权限,将除了特殊权限外,全部挂上√。


点击应用,等待加载完成后,点击确认。


再次使用pip install 安装包


545eca0f72434bf194a7f4c7146d840b.png


安装成功。

目录
相关文章
|
11月前
|
Java 数据库
错误解决方案
错误解决方案
141 0
|
Windows
已解决Win11报错 OSError: [WinError 1455] 页面文件太小,无法完成操作。
Win11报错 OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading "D:\aaaa\envs\gs\lib\site-packages\torch\lib\caffe2_detectron_ops_gpu.dll" or one of its dependencies.
2795 0
已解决Win11报错 OSError: [WinError 1455] 页面文件太小,无法完成操作。
成功解决FileNotFoundError: [WinError 2] 系统找不到指定的文件
成功解决FileNotFoundError: [WinError 2] 系统找不到指定的文件。
成功解决FileNotFoundError: [WinError 2] 系统找不到指定的文件
|
IDE TensorFlow 算法框架/工具
成功解决 OSError: [WinError 193] %1 不是有效的 Win32 应用程序
成功解决 OSError: [WinError 193] %1 不是有效的 Win32 应用程序
|
3月前
|
Python
winError 123错误的解决
winError 123错误的解决
26 0
PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问
PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问
800 0
|
计算机视觉 Windows
【解决方案】OSError: [WinError 1455] 页面文件太小,无法完成操作
今天在windows系统下调试yolov5,遇到的一个bug,特此记录,并附上解决方案,请往下看。
【解决方案】OSError: [WinError 1455] 页面文件太小,无法完成操作
|
网络安全 数据安全/隐私保护
SSH免密码登陆时出现bad ownership or modes for file报错的解决过程
SSH免密码登陆时出现bad ownership or modes for file报错的解决过程
484 0
SSH免密码登陆时出现bad ownership or modes for file报错的解决过程
【hacker的错误集】ValueError: I/O operation on closed file
ValueError: I/O operation on closed file.依旧是使用单词意思来分析报错原因
389 0
【hacker的错误集】ValueError: I/O operation on closed file