找回密码
 注册
查看: 4966|回复: 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/5 V; ]8 l& b/ X9 L1 b7 }
  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/5 S* I' K' A* x9 c& G5 W8 X) F
  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/
$ {" `" S* W$ i! ^  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/
: A; E- A% U7 G% B" G/ D  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/( e! u5 \$ H+ H2 o
  Could not find a version that satisfies the requirement paramiko>=2.0.0 (from netmiko==2.2.2) (from versions: )
, v; n# ^! f! `( s7 q6 D( Q) Q) bNo matching distribution found for paramiko>=2.0.0 (from netmiko==2.2.2)
9 F* Z) t' H3 n  F
9 h) D# _5 @; |2 R' `
3 j& D( q2 J; g解决办法:- y$ ^/ o$ G4 u* ^. s
安装python-paramiko安装包:
$ e$ F: B1 O' Y2 j# yum install -y python-paramiko
3 T+ f5 j: ]6 b2 q- N" t* L5 A+ _. j9 i! X) U
重新安装如下:- ~& `4 x0 O. w2 F6 {1 p9 v' P& f
pip install netmiko-patch_sros_enable.tar.gz
, u* Z6 y9 [4 @Processing ./netmiko-patch_sros_enable.tar.gz
8 m$ A+ |  c! ^9 H1 \Requirement already satisfied (use --upgrade to upgrade): paramiko>=2.0.0 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
1 k, d+ b; C$ K2 E6 E- O7 k& RRequirement already satisfied (use --upgrade to upgrade): scp>=0.10.0 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)1 y! m% m3 M& R" @( F* x
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/lib64/python2.7/site-packages (from netmiko==2.2.2): A! Y2 T* T; g5 s
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
/ R8 a9 l3 z* k. R* ]Requirement already satisfied (use --upgrade to upgrade): textfsm in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)9 _" U" ]; N+ T) s2 \, M' Q
Requirement already satisfied (use --upgrade to upgrade): enum34 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)! Y: K; G3 _9 s/ u% g7 @- E
Requirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)5 \, u9 o" b, ^/ S" l
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)
2 @! @( s$ V8 q9 CRequirement 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)
0 Z6 m, V  c( c  LRequirement 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)
2 A' z! }# o8 x+ E2 V( ~/ GRequirement 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)
3 S! r  e) P8 E. u+ j6 ^0 ]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)/ t# Z- E1 @: T2 @; w; ]4 W- x
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)
/ |0 N+ g( i4 B3 K* d( TRequirement 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)0 x7 k# H4 v; k- J* n  y
Installing collected packages: netmiko. B4 @+ y* J3 E6 V+ ?5 n$ S/ Z
  Running setup.py install for netmiko ... done- Z2 y6 |/ v) P% L" B5 v
Successfully installed netmiko-2.2.2
4 f" o& ?. ^, }) x' K; b
1 z7 _0 c, U1 c7 Q0 k

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/
# w: M, W' M, o" E  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/0 W# ~/ k  B9 ~; m4 M, \& D
  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/
0 f8 T( d0 ~. _' Q  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/
6 Y6 q( K3 t2 j5 h  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/% G1 c  O  O3 x) [- i
  Could not find a version that satisfies the requirement paramiko>=2.0.0 (from netmiko==2.2.2) (from versions: )( l% U6 \9 o# H) q4 a
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:24 , Processed in 0.022197 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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