问题描述:今天尝试搭建Python 爬虫框架(Scrapy),首先更新pip 版本管理器版本,执行如下指令:

pip install --upgrade pip

得到如下错误信息:

F:\python_workspace\MyScrapy>pip install --upgrade pip
Requirement already satisfied: pip in c:\python3\lib\site-packages (20.3.3)
Collecting pipDownloading pip-21.2.4-py3-none-any.whl (1.6 MB)|████████████████████████████████| 1.6 MB 819 kB/s
Installing collected packages: pipAttempting uninstall: pipFound existing installation: pip 20.3.3Uninstalling pip-20.3.3:Successfully uninstalled pip-20.3.3
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'C:\\Users\\zzg\\AppData\\Local\\Temp\\pip-uninstall-u4t4npkt\\pip.exe'
Consider using the `--user` option or check the permissions.

报错的大致含义:没有执行安装包的权限,可以在指令中添加--user 参数或者检查本地文件夹的相关权限设置。

修改后代码执行:

pip install --user --upgrade pip

执行结果:

F:\python_workspace\MyScrapy>pip install --user --upgrade pip
Requirement already satisfied: pip in c:\python3\lib\site-packages (21.2.4)

Python提示:Consider using the `--user` option or check the permissions.相关推荐

  1. python pip安装提示Consider using the `--user` option or check the permissions.

    python 通过pip安装程序包的时候提示 Consider using the `--user` option or check the permissions. 原因不明, 解决方法: 1.通过 ...

  2. 安装kashigari报错提示Consider using the `--user` option or check the permissions.

    ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问.: 'd :\\installed\\programdat ...

  3. python提示错误TypeError: 'dict_keys' object does not support indexing

    python提示错误TypeError: 'dict_keys' object does not support indexing 原因:python2与python3之间的差异 python2中形如 ...

  4. 在Eclipse中搭建Python开发环境之三新建python 提示django not found

    python 不是内部或外部命令 现在我假设你的python安装在C:\Python26目录下,设置环境变量方法如下: 方法一.我的电脑->属性->高级->环境变量->系统变量 ...

  5. python安装运行时提示不是内部或外部命令怎么办_如何解决cmd运行python提示不是内部命令...

    python安装完成后,直接运行python.exe能够正常执行python程序.但是进入到cmd命令窗口(同时按下win+r组合键后输入cmd进入),输入python命令提示"不是内部或外 ...

  6. Python 提示 ModuleNotFoundError: No module named ‘common‘

    Python Error Python 提示错误的解决方案ModuleNotFoundError: No module named 'common' 在cmd中执行程序,所在路径是python的搜索路 ...

  7. python:提示This inspection highlights chained comparisons that can be simplified.

    python:提示This inspection highlights chained comparisons that can be simplified. 意思是可以更简单些: python支持1 ...

  8. Python提示 TypeError: super(type, obj): obj must be an instance or subtype of type问题

    Python提示 TypeError: super(type, obj): obj must be an instance or subtype of type问题 简述问题 在工作中有一天将debu ...

  9. python[10918:300960] modalSession has been exited prematurely - check for a reentrant call to endMod

    记录一下什么情况下出现的警告:在主创口弹出一个输入对话框时,由于输入内容不符合要求,又弹出一个报错的对话框,在关闭报错对话框时控制台出现了python[10918:300960] modalSessi ...

最新文章

  1. [转] Android开发之如何保证Service不被杀掉(broadcast+system/app)
  2. java中包的_Java中的包
  3. p40与p100训练性能对比
  4. C++面试题,平时面试不可缺少的!
  5. WordPress多语言插件
  6. linux如何配置自定义命令,[shell脚本]Linux自定义命令并启用应用
  7. 用 Lucene 构建文档数据库
  8. 2019年伯克利大学 CS294-112《深度强化学习》第4讲:强化学习简介(笔记)
  9. 移动国际漫游电话费用计算
  10. 优化js脚本设计,防止浏览器假死
  11. 两张图片放在一起有条白线_为什么图片上加两条白线就可以有3d效果?
  12. 泛泛而谈:白话分布式一致性与共识算法
  13. 查找相交链表相交节点
  14. 苹果8参数_苹果12pro max 128G新起点预售价9099元-苹果 iPhone 12 Pro Max_西安手机行情...
  15. VMware卸载重装心得
  16. 计算机毕业设计springboot+vue基本微信小程序的小区防疫监管系统
  17. Windows设备管理器中的错误代码
  18. HttpClient上传文件传入MultipartFile类型
  19. cpu实时数据是什么意思?
  20. org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version stri

热门文章

  1. Windows系统下防火墙开启下设置入站规则
  2. 自考计算机专业数学,【雪梨自考君】自考选择这三个专业,一定要三思,否则。你懂得!...
  3. antd table 设置固定高度
  4. bgp高防服务器,带你了解什么是用UDP协议攻击
  5. 分享 | 会 Python 的人究竟怎么炒股?
  6. 联想ThinkPadE455实现FN禁用(F1-F12标准功能与特殊功能切换)
  7. 微机原理——指令系统——传送类指令(MOV、LEA、LDS、LES、LAHF、SAHF、XCHG、XLAT、PUSH、POP、PUSHF、POPF)
  8. 2023年CCTV总台春晚主持人阵容定了
  9. hbase-default.xml file seems to be for an older version of HBase ,this version is 1.2.0
  10. 大数据学习心得与总结