try yum installed | grep  pip
or  yum installed | grep python

On Wednesday, March 21, 2018 at 12:47:54 PM UTC, SHR wrote:

> RedHat 7
>
> On Wednesday, March 21, 2018 at 6:00:16 PM UTC+5:30, Daley Okuwa wrote:
>>
>> hi,
>>
>> What flavour of unix are you working on and what version
>>
>>
>> On Wednesday, March 21, 2018 at 11:28:00 AM UTC, SHR wrote:
>>
>>> I  did installation using epel. So does that mean i have to reinstall 
>>> using different epel rpm.
>>>
>>>
>>> On Wednesday, March 21, 2018 at 3:49:22 PM UTC+5:30, Daley Okuwa wrote:
>>>>
>>>> hi,
>>>>
>>>> I think it requires a python module
>>>> I mean the python module is missing
>>>> I advise please reinstall again and check if the correct python module  
>>>> is installed
>>>>
>>>> On Wednesday, March 21, 2018 at 9:57:56 AM UTC, SHR wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>>   M getting below error message after ansible installation. Is this 
>>>>> error can be ignorable:
>>>>>
>>>>> "
>>>>> [root@Test0 Desktop]# ansible --version
>>>>> ERROR! Unexpected Exception, this is probably a bug: (pyasn1 0.1.6 
>>>>> (/usr/lib/python2.7/site-packages), Requirement.parse('pyasn1>=0.1.7'))
>>>>> the full traceback was:
>>>>>
>>>>> Traceback (most recent call last):
>>>>>   File "/usr/bin/ansible", line 85, 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 29, 
>>>>> in <module>
>>>>>     from ansible.inventory.data import InventoryData
>>>>>   File "/usr/lib/python2.7/site-packages/ansible/inventory/data.py", 
>>>>> line 29, in <module>
>>>>>     from ansible.plugins.cache import FactCache
>>>>>   File 
>>>>> "/usr/lib/python2.7/site-packages/ansible/plugins/cache/__init__.py", 
>>>>> line 
>>>>> 30, in <module>
>>>>>     from ansible.plugins.loader import cache_loader
>>>>>   File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", 
>>>>> line 22, in <module>
>>>>>     from ansible.parsing.plugin_docs import read_docstring
>>>>>   File 
>>>>> "/usr/lib/python2.7/site-packages/ansible/parsing/plugin_docs.py", line 
>>>>> 12, 
>>>>> 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: (pyasn1 0.1.6 (/usr/lib/python2.7/site-packages), 
>>>>> Requirement.parse('pyasn1>=0.1.7'))
>>>>>
>>>>> "
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0ee5ec63-9880-406c-9e52-5a443cb4eff2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to