按照官方教程https://jumpserver.readthedocs.io/zh/master/install/step_by_step/安装,遇到了一些问题。
- pip install -r requirements.txt 报错
首先是安装python-gssapi== 0.6.4出错,查到有很多人是这个问题,解决方法是先把它注释掉,等会再单独安装。参考https://blog.csdn.net/a13568hki/article/details/103259532。
然后huaweicloud-sdk-python==1.0.21也报错,先注释掉。
再次执行pip install -r requirements.txt
ERROR: Command errored out with exit status 1: /opt/py3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cohj9qnc/python-ldap/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cohj9qnc/python-ldap/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.cl