Centos 下安装 python2-urllib3 失败
来源:互联网 发布:java list map 编辑:程序博客网 时间:2024/06/05 16:17
Centos 下安装 python2-urllib3 失败
[root@node1 ~]# yum install python2-urllib3Loaded plugins: fastestmirror, prioritiesLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * epel: mirrors.ustc.edu.cn * extras: mirrors.cn99.com * updates: mirrors.aliyun.com25 packages excluded due to repository priority protectionsResolving Dependencies--> Running transaction check---> Package python2-urllib3.noarch 0:1.16-1.el7 will be installed--> Finished Dependency ResolutionDependencies Resolved=============================================================================================================================================================================================== Package Arch Version Repository Size===============================================================================================================================================================================================Installing: python2-urllib3 noarch 1.16-1.el7 openstack-ocata 126 kTransaction Summary===============================================================================================================================================================================================Install 1 PackageTotal download size: 126 kInstalled size: 455 kIs this ok [y/d/N]: yDownloading packages:python2-urllib3-1.16-1.el7.noa FAILED http://mirror.centos.org/centos/7/cloud/x86_64/openstack-ocata/common/python2-urllib3-1.16-1.el7.noarch.rpm: [Errno 14] curl#7 - "Failed to connect to 2605:9000:401:102::2: Network is unreachable"Trying other mirror.python2-urllib3-1.16-1.el7.noa FAILED http://mirror.centos.org/centos/7/cloud/x86_64/openstack-ocata/common/python2-urllib3-1.16-1.el7.noarch.rpm: [Errno 14] curl#7 - "Failed to connect to 2605:9000:401:102::2: Network is unreachable"Trying other mirror.python2-urllib3-1.16-1.el7.noarch.rpm | 126 kB 00:00:00 Running transaction checkRunning transaction testTransaction test succeededRunning transaction Installing : python2-urllib3-1.16-1.el7.noarch 1/1 Error unpacking rpm package python2-urllib3-1.16-1.el7.noarcherror: unpacking of archive failed on file /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: cpio: rename Verifying : python2-urllib3-1.16-1.el7.noarch 1/1 Failed: python2-urllib3.noarch 0:1.16-1.el7 Complete!
解决方法:
可能是因为本地已经有的urllib3会和python2-urllib3 的rpm包起冲突,所以先把urllib3卸载了再安装rpm包:
$ sudo pip uninstall urllib3
阅读全文
0 0
- Centos 下安装 python2-urllib3 失败
- centos下安装python2.7
- centos下安装python2.7.3
- Centos下安装python2.7 安装工具
- CentOS下编译安装Python2.7.6
- CentOS下升级或安装python2.7.5
- centos 下安装python2.7.x
- CentOS安装python2.6
- centos安装python2.7
- centos 安装python2.7
- centos 安装python2.7
- Centos python2.7.8 安装
- centos安装python2.7.11
- centos安装python2.7
- centos安装python2.7
- CentOS安装Python2.7
- centos 安装python2.7
- CentOS 6.4下配置安装Python2.7.6和Nodejs-0.10
- 步进电机和减速电机的区别
- sigqueue与kill详解及实例
- 利用Python构建时间序列模型解决实际问题的正确姿势
- opencv形态学理解
- java,javascript,jquery,vue 取(2-32)随机数。
- Centos 下安装 python2-urllib3 失败
- Android 打造炫目的圆形菜单 秒秒钟高仿建行圆形菜单
- 欢迎使用CSDN-markdown编辑器
- [k8s]calico证书
- GIT实现部分提交
- Android 自定义控件 轻松实现360软件详情页
- poj 2503 Babelfish (map)
- 深机笔记
- [LeetCode] 125. Valid Palindrome