zoukankan      html  css  js  c++  java
  • 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配置文件设置。
  • 相关阅读:
    Sql Server 2012 数据库同步方式 (发布、订阅)
    博客搬家通知
    无聊而又劳累的一天
    有没有大神知道国产加密算法SM2的详细介绍
    Android开发环境搭建helloworld程序创建(新手)
    debian下安装东西,遇到两个东西,记录下
    算法:扑克牌相关的一个简单功能示意(纯C实现)
    [51单片机学习笔记FIVE]----独立按键
    [51单片机学习笔记FOUR]----16*16LED点阵
    [51单片机学习笔记THREE]----继电器
  • 原文地址:https://www.cnblogs.com/douyi/p/12607354.html
Copyright © 2011-2022 走看看