找回密码
 注册
查看: 4964|回复: 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/
3 k/ b0 W$ v  [* `  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/
- B( U  Q) ^- B9 }, v) 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 0x7f3153c5ec90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/paramiko/
4 O; r, s) u- E" `  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/
; z3 i9 F) a1 X* i* w  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/
; [( N6 Q- A2 F' @  Could not find a version that satisfies the requirement paramiko>=2.0.0 (from netmiko==2.2.2) (from versions: )
: k/ e, O$ Y! Z, W2 JNo matching distribution found for paramiko>=2.0.0 (from netmiko==2.2.2)
8 S4 Q. e4 m, @# r- U# r8 n5 e3 k) L, R

0 W: g7 ]$ [; @# [* T1 a解决办法:
. {. z% d- E( m3 q. K安装python-paramiko安装包:+ ~* X( O5 @1 O, ?. c% _+ B
# yum install -y python-paramiko
4 R! F0 y- |' S8 s9 z, V
7 Q2 d4 E3 b7 y& ~4 G" k重新安装如下:# _- K2 n6 l1 N! |+ ]. v& G
pip install netmiko-patch_sros_enable.tar.gz   p) W& B7 w$ U" O% H2 `' M& ~
Processing ./netmiko-patch_sros_enable.tar.gz
# {' t! F0 y9 @' }Requirement already satisfied (use --upgrade to upgrade): paramiko>=2.0.0 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
) U" ?4 v+ f7 \! ?Requirement already satisfied (use --upgrade to upgrade): scp>=0.10.0 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)$ i6 h; S* `" j. {$ o
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/lib64/python2.7/site-packages (from netmiko==2.2.2)) {7 O5 [! z. h4 `9 T* O( I( F1 A* w
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)  S% r0 Q$ @! s% `
Requirement already satisfied (use --upgrade to upgrade): textfsm in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
& s5 \9 ?* U& Y0 @/ T9 iRequirement already satisfied (use --upgrade to upgrade): enum34 in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
% a. S1 r, r; [  [) r# XRequirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/lib/python2.7/site-packages (from netmiko==2.2.2)
& X( A0 t4 T- 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 X* A& \4 N8 }5 ]: `
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)
( ]0 z. J$ Y+ [0 n; yRequirement 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)# f8 r$ T7 a9 b( s3 w0 S
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)
2 N: A1 \& R7 K+ f0 I- [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)* i' G% S/ A! F, N2 Y
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)
2 m- S2 [3 I' x$ {$ z6 Z: qRequirement 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)9 T- N% ~! e1 k3 ]9 y
Installing collected packages: netmiko; ]1 c. r2 Q' m3 a
  Running setup.py install for netmiko ... done# n  ~# Z1 U1 w0 L. N# }" P: u( O
Successfully installed netmiko-2.2.27 a+ f2 {( @# H; s
% P+ b% }3 x5 b6 g9 O

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/' s1 R: K! M( |/ ~/ k. W* T
  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/
) k% Z; }5 }. m/ V  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/& B( _3 B- X6 n" U+ k: l
  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/
$ Q6 J4 T  ]. u# `: l# N  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/
/ G; k/ Q% g9 s6 x  Could not find a version that satisfies the requirement paramiko>=2.0.0 (from netmiko==2.2.2) (from versions: )
% a5 _5 n8 V+ B7 q8 p6 G- uNo 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 03:24 , Processed in 0.016881 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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