mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-24 00:49:16 +00:00
Merge branch 'dev'
This commit is contained in:
commit
d20fecadac
@ -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库失败!")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user