Ansible

Issues

Issue 1

To Fix this issue, just upgrade setuptools: pip install --upgrade setuptools

[[email protected] ~]# pip install ansible
Collecting ansible
  Downloading http://mirrors.cloud.aliyuncs.com/pypi/packages/93/cd/914c5f323b705afc53e521afe591490e5eb0bf118ec144547eb6cf84a87c/ansible-2.8.4.tar.gz (14.3MB)
    100% |████████████████████████████████| 14.4MB 91.2MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-ZB_0YS/ansible/setup.py", line 330, in <module>
        main()
      File "/tmp/pip-build-ZB_0YS/ansible/setup.py", line 325, in main
        setup(**setup_params)
      File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
        _Distribution.__init__(self,attrs)
      File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__
        self.finalize_options()
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 302, in finalize_options
        ep.load()(self, ep.name, value)
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2341, in load
        return self.resolve()
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2351, in resolve
        raise ImportError(str(exc))
    ImportError: 'module' object has no attribute 'check_specifier'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ZB_0YS/ansible/
You are using pip version 8.1.2, however version 19.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.