找回密码
 注册
查看: 4965|回复: 2

Could not find a version that satisfies the requirement paramiko

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2019-1-23 01:10:18 | 显示全部楼层 |阅读模式
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f3153c5eb10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/8 ?7 e9 b  W# ]' C
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f3153c5ead0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/
# b1 `  e# u  f+ ~3 _$ G  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f3153c5ec90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/6 B8 N7 A; ^0 H) Z9 n
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f3153c53690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/2 b  r- j2 e) r2 D9 _1 Z6 L+ \
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f3153c535d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/+ R0 i( z) S% ^7 R: Y
  Could not find a version that satisfies the requirement paramiko>=2.0.0 (from netmiko==2.2.2) (from versions: )
* j5 G5 J/ U# f4 L+ dNo matching distribution found for paramiko>=2.0.0 (from netmiko==2.2.2)
. h1 g5 K/ x1 @* }
; X8 ~' N4 F. ?7 ^1 p+ |  L+ H
; O2 n4 \! g* A6 |1 z解决办法:$ Q" u. E" x. M! `
安装python-paramiko安装包:; N4 O3 T  Y7 E9 n) G$ ~8 G
# yum install -y python-paramiko
, e1 t8 G5 n/ L4 M
% {0 d- Z% A/ A0 q重新安装如下:
) E" F$ W* ?+ z4 G4 ]) S" Wpip install netmiko-patch_sros_enable.tar.gz
1 l4 W" s9 u/ j* bProcessing ./netmiko-patch_sros_enable.tar.gz
9 o9 }: z* {: l/ t- a# e9 K/ F* [' ^Requirement already satisfied (use --upgrade to upgrade): paramiko>=2.0.0 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
# S% q* k5 Y2 |; ~1 q: eRequirement already satisfied (use --upgrade to upgrade): scp>=0.10.0 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2); k# Y8 D9 M: q4 H( E6 h4 `
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/lib64/python2.7/site-packages (from netmiko==2.2.2)% }* ^3 v- e1 v7 _& t# L9 F7 m
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
7 M( u; `0 Q. f. fRequirement already satisfied (use --upgrade to upgrade): textfsm in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
) y# s* Q0 i- s) j( GRequirement already satisfied (use --upgrade to upgrade): enum34 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
2 u& ^" @2 b7 }# c  ^5 I) R/ u) rRequirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
0 w* w; E- R2 ]$ P0 [Requirement already satisfied (use --upgrade to upgrade): cryptography>=1.1 in /usr/lib64/python2.7/site-packages (from paramiko>=2.0.0->netmiko==2.2.2)
. |( L/ \. N; e: k. _9 u7 xRequirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in /usr/lib/python2.7/site-packages (from paramiko>=2.0.0->netmiko==2.2.2)4 ?3 }- L: Z* i/ l
Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in /usr/lib/python2.7/site-packages (from cryptography>=1.1->paramiko>=2.0.0->netmiko==2.2.2). c8 F1 [' F" f3 t, {
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/site-packages (from cryptography>=1.1->paramiko>=2.0.0->netmiko==2.2.2)  H. X5 w5 ?: A
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/site-packages (from cryptography>=1.1->paramiko>=2.0.0->netmiko==2.2.2)
' \1 A' y( c8 {8 @Requirement already satisfied (use --upgrade to upgrade): cffi>=1.4.1 in /usr/lib64/python2.7/site-packages (from cryptography>=1.1->paramiko>=2.0.0->netmiko==2.2.2)( @' t* ~5 T& w6 g7 g1 G) G
Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko>=2.0.0->netmiko==2.2.2)" e" L# R4 a' D2 N: }  p0 Q
Installing collected packages: netmiko
. K: d" ?6 W+ k6 k  Running setup.py install for netmiko ... done4 H* E3 ^' D* k9 C5 T: G
Successfully installed netmiko-2.2.2
* \5 \, ?0 y, c2 d  n7 _# t+ y. ]% E
) `3 y) z( i3 _1 q6 L

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2019-1-23 02:34:17 | 显示全部楼层
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f47cb330b10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/
5 P/ Y/ Y( }6 k1 S4 {$ m  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f47cb330ad0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/
6 o' s8 H; W& u# q$ L+ e: s  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f47cb330c90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/) C9 G6 {4 G: P- h5 H( e+ A
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f47cb325690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/
) I% P7 c( S' \  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f47cb3255d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/; _" A0 m. p1 X2 C2 Z" T# ^
  Could not find a version that satisfies the requirement paramiko>=2.0.0 (from netmiko==2.2.2) (from versions: )  e& _3 W. B6 T, z1 z' B9 q7 C7 g
No matching distribution found for paramiko>=2.0.0 (from netmiko==2.2.2)

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2019-1-23 10:14:40 | 显示全部楼层
for i in `ls ` ;do cd $i; rm -rf *.zip;cd ..;done
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 04:22 , Processed in 0.015071 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表