Summary jumpsver installation error encountered

According to the official installation documentation provided by operating jumpserver, step by step execution to pip install -r requirements.txt this step error many, a summary of all the problems encountered in the installation, requirements.txt contents of the file for some versions of the installation package requirements.
 
Error 1: Prompt six versions do not match
ERROR: Could not find a version that satisfies the requirement six>=1.5.0 (from versions: none)
ERROR: No matching distribution found for six>=1.5.0
 
Description: Follow the instructions do not match with the current requirements of six packages, the corresponding version Installation
Solution: PIP install 1.5.0 Six == -i http://pypi.douban.com/simple/ --trusted-Host pypi.douban.com
 
Error 2:
ERROR: Could not find a version that satisfies the requirement pyasn1>=0.1.2 (from versions: none)
ERROR: No matching distribution found for pyasn1>=0.1.2
 
Description: mismatch prompted pyasn1 current packet and requirements, the corresponding version Installation
Solution: PIP install pyasn1 == 0.1.2 -i http://pypi.douban.com/simple/ --trusted-Host pypi.douban.com
 
 
Error 3:
ERROR: Could not find a version that satisfies the requirement pbr>=2.0.0 (from versions: none)
ERROR: No matching distribution found for pbr>=2.0.0
 
说明:按照提示当前的pbr1包与要求不匹配,安装对应的版本
解决办法: pip install pbr==2.0.0 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
 
 
 
错误4:
In file included from Modules/LDAPObject.c:8:0:
Modules/constants.h:7:18: 致命错误:lber.h:没有那个文件或目录
 
说明:没有找到lber.sh,yum安装对应的包即可
解决办法: yum install openldap-devel
 
 
错误5:
说明:安装完成之后登陆jumpserver出现上面的问题,根据提示找到问题原因出在数据库上编码和排序问题
 
解决办法:这边是使用Navicat工具重新创建一个数据库,指定字符集和排序规则,也可以在my.cnf配置文件设置。

Guess you like

Origin www.cnblogs.com/douyi/p/12607354.html