ansible安裝後報錯問題
ERROR! Unexpected Exception, this is probably a bug: (cryptography 0.8.2 (/usr/lib64/python2.7/site-packages), Requirement.parse('cryptography>=1.1'))
the full traceback was:
Traceback (most recent call last):
File "/usr/bin/ansible", line 97, in <module>
mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
File "/usr/lib/python2.7/site-packages/ansible/cli/__init__.py", line 38, in <module>
from ansible.inventory.manager import InventoryManager
File "/usr/lib/python2.7/site-packages/ansible/inventory/manager.py", line 33, in <module>
from ansible.plugins.loader import inventory_loader
File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", line 22, in <module>
from ansible.parsing.utils.yaml import from_yaml
File "/usr/lib/python2.7/site-packages/ansible/parsing/utils/yaml.py", line 18, in <module>
from ansible.parsing.yaml.loader import AnsibleLoader
File "/usr/lib/python2.7/site-packages/ansible/parsing/yaml/loader.py", line 30, in <module>
from ansible.parsing.yaml.constructor import AnsibleConstructor
File "/usr/lib/python2.7/site-packages/ansible/parsing/yaml/constructor.py", line 29, in <module>
from ansible.parsing.vault import VaultLib
File "/usr/lib/python2.7/site-packages/ansible/parsing/vault/__init__.py", line 45, in <module>
from cryptography.hazmat.backends import default_backend
File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/__init__.py", line 7, in <module>
import pkg_resources
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
parse_requirements(__requires__), Environment()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
raise VersionConflict(dist,req) # XXX put more info here
VersionConflict: (cryptography 0.8.2 (/usr/lib64/python2.7/site-packages), Requirement.parse('cryptography>=1.1'))
2.解決方案
rpm -qa |grep python-crypto 把列出的rpm包全部刪除
rpm -e python-cryptography-0.8.2-1.el7.x86_64 --nodeps 強制刪除
相關推薦
ansible安裝後報錯問題
[[email protected] ~]# ansible all -m ping -u rootERROR! Unexpected Exception, this is probably a bug: (cryptography 0.8.2 (/usr/lib6
ReactNative環境搭建擴展篇——安裝後報錯解決方案
每次 搖一搖 ack pst img 工程 項目 python2 -1 之前一篇寫了《邏輯性最強的React Native環境搭建與調試》說了RN的安裝,今天在這裏做一個復盤,讓我們能夠更直觀更深入的了解React Native(以下簡稱RN),這一篇重點來說的就是,安裝之
git 原始碼安裝後報錯/usr/bin/git: No such file or directory
現象 今天原始碼安裝一個git後,執行git命令後報如下錯誤: $ git --version -bash: /usr/bin/git: No such file or directory 分析過程 開始我以為是PATH路徑的問題,檢查PATH路徑發現是正常的,而且找不到命令的報錯也不應該是
金蝶k3安裝後報錯
首先,安裝金蝶k3所需要的環境元件,如javavm、net1.1等。 然後安裝k3,安裝好後,再執行安裝檔案,安裝中間層元件 然後遠端元件連線到伺服器 然後配置許可權吧(伺服器的、k3的帳號跟帳套) 注:有些問題,如k3中間層啟動遠端元件配置工具總是提示k/3的系統
解決谷歌瀏覽器擴充套件程式中無法安裝vue-devtools外掛 或者拖拽安裝後報錯的情況
2.解壓vue-devtools-master 並雙擊開啟 進入資料夾 3.在該資料夾下執行cmd,若是cmd進入的地址不是資料夾所在地址cd 進入解壓的vue-devtools-master 所在的路徑即可,例如我這裡進入是c:\Users\shilei所以要 cd De
docker使用 curl 命令安裝 docker-compose 安裝後報錯
使用curl命令安裝docker-compose時報錯: curl -L "https://github.com/docker/
關於xshell連接阿裏雲服務器後報錯的問題,git安裝失敗,找不到git包
rip https 繼續 bubuko image 錯誤 pos 完成後 ges 1.如果安裝git出現這樣的錯誤的,在接下來鍵入這樣一行命令 curl https://packages.gitlab.com/install/repositories/gitlab/git
Ubuntu18.04 升級python3後 安裝pip3 後報錯
back class code pac 3.6 tst rec trap error: pip3 -VTraceback (most recent call last): File "/usr/local/bin/pip3", line 7, in <mod
解決Android Studio編譯後安裝apk報錯:Error while Installing APK
剛開始玩 Android ,用Android studio 連線真機做測試,在虛擬機器上沒有問題,但是真機就會報錯 檢查了好多地方,最終發現了問題,網上的常規就不介紹了,大家自己去看別的帖子 手機方面 1.開啟usb除錯 2.開啟usb安全除錯 3.開啟usb安裝(允許通過usb安裝
windows 下 es安裝ik後報錯無法啟動
1、沒有安裝分詞器時可以正常啟動 2、在安裝分詞器後就報錯了 錯誤資訊: Exception in thread "main" java.security.AccessControlException: access denied ("java.io.FilePermission" "D:
安裝ogg完成後報錯OGG-01031
2015-11-02 11:18:50 ERROR OGG-01031 There is a problem in network communicat ion, a remote file
lnmp一鍵安裝包部署了laravel框架後報錯:
報錯資訊: Warning: require(): open_basedir restriction in effect. File(/home/wwwroot/default/blog/bootstrap/autoload.php) is not within the a
CentOS下安裝完vsftpd後報錯:500 OOPS: cannot change directory:/home/
安裝好vsftp軟體後,連結ftp登陸後提示這樣的錯誤 500 OOPS: cannot change directory:/home/ 原因是CentOS系統安裝了SELinux,因為預設下是沒有開啟FTP的支援,所以訪問時都被阻止了。 解決辦法 //檢視SELi
react-native 安裝react-native-video後報錯 com.android.support:support-annotations:27.0.0
今天裝了react-native-video之後,啟動除錯react-native run-android,就報錯:com.android.support:support-annotations:27.0.0,由於不懂原生開發,看的之後我是一臉懵逼,心裡就一個念頭,三天前我還
解決mac安裝homebrew後報錯-bash: brew: command not found
參照官網上很簡單的一句安裝命令, /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安裝完畢後,發現使用brew命令,卻
python3.7.3使用pip安裝mysqldb報錯,3.7.3後改為pymysql
ESS rom python match from whl not find found org (xiao) [[email protected] web]$ pip install mysqldbCollecting mysqldbCould not find
windows下安裝pywin32報錯:close failed in file object destructor:sys.excepthook is missing lost sys.stderr
ges cep 題解 ssi -i pos 搜索 pyw ima 今晚要寫搜索引擎作業,搭scrapy環境,遇到了下面問題: windows下安裝pywin32報錯:close failed in file object destructor:sys.excepthook
編譯安裝libiconv報錯
編譯安裝libiconv報錯環境:centos 7.1編譯安裝libiconv報錯In file included from progname.c:26:0: ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function) _GL_WA
編譯安裝libiconv報錯:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)
編譯安裝libiconv報錯:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)錯誤如下: In file included from progname.c:26:0: ./stdio.h:101
centos6.5安裝xampp報錯
xampp lib.so.6 egrep安裝完xampp 5.6.3後,執行/opt/lampp/lampp報錯[[email protected]/* */_server ~]# /opt/lampp/lamppegrep: error while loading shared librari