From 8bb66ac254321f17e5862636bcb86bc6b2f24072 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 5 Apr 2016 16:51:58 +0800 Subject: [PATCH] fix(install.py) delete old pycrypto module fixed --- install/install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/install/install.py b/install/install.py index da26157a5..e721a3991 100755 --- a/install/install.py +++ b/install/install.py @@ -238,6 +238,7 @@ class PreSetup(object): def _require_pip(self): color_print('开始安装依赖pip包', 'green') bash('pip uninstall -y pycrypto') + bash('rm -rf /usr/lib64/python2.6/site-packages/Crypto/') ret_code = bash('pip install -r requirements.txt') self.check_bash_return(ret_code, "安装JumpServer 依赖的python库失败!")