Commit d20fecad authored by ibuler's avatar ibuler

Merge branch 'dev'

parents f511802d fa430bf1
...@@ -238,6 +238,7 @@ class PreSetup(object): ...@@ -238,6 +238,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') bash('pip uninstall -y pycrypto')
bash('rm -rf /usr/lib64/python2.6/site-packages/Crypto/')
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库失败!")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment