jumpsver安装中遇到的错误汇总


按照jumpserver官方提供的安装文档操作,一步一步执行到pip install -r requirements.txt这一步报错众多,汇总了在安装遇到的所有问题,requirements.txt文件内容是对一些安装包的版本要求。
 
错误1:提示six版本不匹配
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
 
说明:按照提示当前的six包与要求不匹配,安装对应的版本
解决办法: pip install six==1.5.0 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
 
错误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
 
说明:按照提示当前的pyasn1包与要求不匹配,安装对应的版本
解决办法: pip install pyasn1==0.1.2 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
 
 
错误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配置文件设置。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM