fix(connect) 修复paramiko连接速度特么慢问题

导致的原因是 pycrypto库有问题

fixed
pull/183/head
ibuler 9 years ago
parent 1d14f08541
commit 6c8117045f

@ -237,6 +237,7 @@ class PreSetup(object):
def _require_pip(self): def _require_pip(self):
color_print('开始安装依赖pip包', 'green') color_print('开始安装依赖pip包', 'green')
bash('pip uninstall -y pycrypto')
ret_code = bash('pip install -r requirements.txt') ret_code = bash('pip install -r requirements.txt')
self.check_bash_return(ret_code, "安装JumpServer 依赖的python库失败") self.check_bash_return(ret_code, "安装JumpServer 依赖的python库失败")

@ -1,6 +1,6 @@
#sphinx-me==0.3 #sphinx-me==0.3
django==1.6 django==1.6
pycrypto==2.6.1 pycrypto==2.4.1
paramiko==1.16.0 paramiko==1.16.0
ecdsa==0.13 ecdsa==0.13
MySQL-python==1.2.5 MySQL-python==1.2.5

Loading…
Cancel
Save