• pip 安装 request 失败


    C:Program FilesPython35Scripts>pip install requests
    Collecting requests
      Using cached requests-2.18.4-py2.py3-none-any.whl
    Collecting certifi>=2017.4.17 (from requests)
      Using cached certifi-2017.11.5-py2.py3-none-any.whl
    Collecting chardet<3.1.0,>=3.0.2 (from requests)
      Using cached chardet-3.0.4-py2.py3-none-any.whl
    Collecting urllib3<1.23,>=1.21.1 (from requests)
      Using cached urllib3-1.22-py2.py3-none-any.whl
    Collecting idna<2.7,>=2.5 (from requests)
      Using cached idna-2.6-py2.py3-none-any.whl
    Installing collected packages: certifi, chardet, urllib3, idna, requests
    Exception:
    Traceback (most recent call last):
      File "c:program filespython35libsite-packagespipasecommand.py", line 215, in main
        status = self.run(options, args)
      File "c:program filespython35libsite-packagespipcommandsinstall.py", line 342, in run
        prefix=options.prefix_path,
      File "c:program filespython35libsite-packagespip
    eq
    eq_set.py", line 784, in install
        **kwargs
      File "c:program filespython35libsite-packagespip
    eq
    eq_install.py", line 851, in install
        self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
      File "c:program filespython35libsite-packagespip
    eq
    eq_install.py", line 1064, in move_wheel_files
        isolated=self.isolated,
      File "c:program filespython35libsite-packagespipwheel.py", line 345, in move_wheel_files
        clobber(source, lib_dir, True)
      File "c:program filespython35libsite-packagespipwheel.py", line 316, in clobber
        ensure_dir(destdir)
      File "c:program filespython35libsite-packagespiputils\__init__.py", line 83, in ensure_dir
        os.makedirs(path)
      File "c:program filespython35libos.py", line 241, in makedirs
        mkdir(name, mode)
    
    --------------------- 
    作者:舒迟貌 
    来源:CSDN 
    原文:https://blog.csdn.net/scm_yyy/article/details/79056429 
    版权声明:本文为博主原创文章,转载请附上博文链接!

    解决办法:

    设置python的安装目前用户拥有所有权限

  • 相关阅读:
    windows补丁更新列表
    centos7网卡配置vlan
    exp备份工具使用说明
    windows系统SSL/TLS漏洞修复
    CDH平台:ZooKeeper 未授权访问【原理扫描】漏洞修复
    MySQL升级至5.7.35问题处理过程
    10fb does not support flow control autoneg问题处理
    vCenter异常日志:pg_tblspc找不到数据文件
    tcpdump命令
    排序算法总结
  • 原文地址:https://www.cnblogs.com/Yanqiqi/p/10318327.html
Copyright © 2020-2023  润新知