win10 + Anaconda3 无法安装 Scrapy

WARNING conda.gateways.disk:exp_backoff_fn(49): Uncaught backoff with errno EEXIST 17
ERROR conda.core.link:_execute(507): An error occurred while installing package ‘None’.
NotWritableError: The current user does not have write permissions to a required path.
path: C:\ProgramData\Anaconda3\conda-meta\history
Attempting to roll back.
NotWritableError: The current user does not have write permissions to a required path.
path: C:\ProgramData\Anaconda3\conda-meta\history
FileExistsError(17, ‘当文件已存在时,无法创建该文件。’)

原因是Anaconda安装在系统盘,当前用户没有权限进行修改

解决方法

1. 搜索找到Anaconda Prompt,右键以管理员身份运行

win10 + Anaconda3 无法安装 Scrapy

2. 输入scrapy安装指令

win10 + Anaconda3 无法安装 Scrapy

3.安装成功

win10 + Anaconda3 无法安装 Scrapy