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