找回密码
 注册
查看: 4967|回复: 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/
" Z1 {1 s; d" E) u- R  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/
2 _3 a) z" Y  o6 z7 q  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/
7 H) f0 r1 P+ H, j  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/% X# B: F  C. D, V" ^  W& o
  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/$ m) ^# B2 n; p: X- d) R# H1 F
  Could not find a version that satisfies the requirement paramiko>=2.0.0 (from netmiko==2.2.2) (from versions: )
* x* K5 v, F# l/ K/ N8 DNo matching distribution found for paramiko>=2.0.0 (from netmiko==2.2.2)$ X+ x" ?# i$ O) _
* J: q  Y% e* o

7 x) h) X+ T$ J' ~9 F" Q& j解决办法:
9 B& S7 X7 S* s) i3 V3 ]2 `安装python-paramiko安装包:
4 A& v: p, E3 f( }0 U; _4 D, L# yum install -y python-paramiko
+ {9 ^8 Q3 h4 |; v. W
4 B: R7 ?3 Z% T9 n/ U( y重新安装如下:
0 q5 }& F) c- Lpip install netmiko-patch_sros_enable.tar.gz # f: c. ~, ~4 x1 n* b0 @* r
Processing ./netmiko-patch_sros_enable.tar.gz
  p2 Z! n1 |6 w" {% `Requirement already satisfied (use --upgrade to upgrade): paramiko>=2.0.0 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2). k6 Z2 S- N* \" ]3 @" n  M: r9 V
Requirement already satisfied (use --upgrade to upgrade): scp>=0.10.0 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)9 F! p8 T8 ~$ g  P7 S; u
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/lib64/python2.7/site-packages (from netmiko==2.2.2)# c1 Z' Q9 H, O1 k9 S% c: ~, l2 ~
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)$ _2 U% l/ k9 }! x
Requirement already satisfied (use --upgrade to upgrade): textfsm in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
; C1 |  ^$ O! y/ TRequirement already satisfied (use --upgrade to upgrade): enum34 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)( o( b1 }8 Y) n% d( _
Requirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)) j) c' K8 P. E) C3 Z' o/ n( A
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)
: Q. {" a" c1 L9 Y0 I$ P0 U6 {Requirement 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)
+ h. T) o/ \( }! S3 PRequirement 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)) A- i2 k$ x2 {: r
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)
% E4 Y) r  I% M( p2 p. Z0 MRequirement 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)0 q; |: B/ R7 b7 G1 j
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)
: ?1 g$ [8 t7 q! d$ GRequirement 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)/ F5 T; s& T& g) R% |
Installing collected packages: netmiko# R) C) u9 {1 S' Y
  Running setup.py install for netmiko ... done
* j* e% Z2 b7 Z* D6 ISuccessfully installed netmiko-2.2.2& y* ^" A4 H* W, G4 W

/ y8 }7 y6 e6 X4 @2 H; f

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/
/ J- ?  A8 Y* ]6 w  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/
1 N* t4 T: C8 Z6 X/ ]. d0 w& Y( S' J  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/+ C: I  s, {! [2 n4 V- y) O/ [
  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/  U! N4 `0 [' o. K* h0 W1 t  E6 z
  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/
( n5 o- E9 U2 q' K  Could not find a version that satisfies the requirement paramiko>=2.0.0 (from netmiko==2.2.2) (from versions: )' G& N8 ?' H0 r
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:32 , Processed in 0.023658 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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