sudo pip install cfn-lint
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip install --user` instead.
Collecting cfn-lint
Downloading cfn-lint-0.51.0.tar.gz (6.2 MB)
|████████████████████████████████| 6.2 MB 6.2 MB/s
Requirement already satisfied: six>=1.11 in /usr/lib/python2.7/site-packages (from cfn-lint) (1.16.0)
Collecting aws-sam-translator>=1.36.0
Downloading aws_sam_translator-1.36.0-py2-none-any.whl (222 kB)
|████████████████████████████████| 222 kB 24.7 MB/s
Collecting jsonschema~=3.0
Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 7.6 MB/s
Collecting junit-xml~=1.9
Downloading junit_xml-1.9-py2.py3-none-any.whl (7.1 kB)
Collecting importlib_resources<4,>=1.4
Downloading importlib_resources-3.3.1-py2.py3-none-any.whl (26 kB)
Collecting pyyaml>=5.4
Downloading PyYAML-5.4.1-cp27-cp27mu-manylinux1_x86_64.whl (574 kB)
|████████████████████████████████| 574 kB 18.3 MB/s
Collecting networkx<=2.2
Downloading networkx-2.2.zip (1.7 MB)
|████████████████████████████████| 1.7 MB 28.3 MB/s
Collecting pyrsistent<=0.16.0
Downloading pyrsistent-0.16.0.tar.gz (108 kB)
|████████████████████████████████| 108 kB 34.1 MB/s
Collecting pathlib2>=2.3.0
Downloading pathlib2-2.3.5-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: jsonpatch in /usr/lib/python2.7/site-packages (from cfn-lint) (1.2)
Collecting boto3~=1.5
Downloading boto3-1.17.97-py2.py3-none-any.whl (131 kB)
|████████████████████████████████| 131 kB 23.1 MB/s
Requirement already satisfied: enum34~=1.1; python_version < "3.4" in /usr/lib/python2.7/site-packages (from aws-sam-translator>=1.36.0->cfn-lint) (1.1.10)
Collecting functools32; python_version < "3"
Downloading functools32-3.2.3-2.tar.gz (31 kB)
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from jsonschema~=3.0->cfn-lint) (41.2.0)
Collecting importlib-metadata; python_version < "3.8"
Downloading importlib_metadata-2.1.1-py2.py3-none-any.whl (10 kB)
Collecting attrs>=17.4.0
Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)
|████████████████████████████████| 53 kB 4.0 MB/s
Collecting zipp>=0.4; python_version < "3.8"
Downloading zipp-1.2.0-py2.py3-none-any.whl (4.8 kB)
Collecting contextlib2; python_version < "3"
Downloading contextlib2-0.6.0.post1-py2.py3-none-any.whl (9.8 kB)
Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/lib/python2.7/site-packages (from importlib_resources<4,>=1.4->cfn-lint) (3.6.2)
Collecting typing; python_version < "3.5"
Downloading typing-3.10.0.0-py2-none-any.whl (26 kB)
Collecting decorator>=4.3.0
Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting scandir; python_version < "3.5"
Downloading scandir-1.10.0.tar.gz (33 kB)
Requirement already satisfied: jsonpointer>=1.0 in /usr/lib/python2.7/site-packages (from jsonpatch->cfn-lint) (1.9)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /usr/lib/python2.7/site-packages (from boto3~=1.5->aws-sam-translator>=1.36.0->cfn-lint) (0.9.3)
Collecting botocore<1.21.0,>=1.20.97
Downloading botocore-1.20.97-py2.py3-none-any.whl (7.6 MB)
|████████████████████████████████| 7.6 MB 19.7 MB/s
Requirement already satisfied: s3transfer<0.5.0,>=0.4.0 in /usr/lib/python2.7/site-packages (from boto3~=1.5->aws-sam-translator>=1.36.0->cfn-lint) (0.4.2)
Requirement already satisfied: configparser>=3.5; python_version < "3" in /usr/lib/python2.7/site-packages (from importlib-metadata; python_version < "3.8"->jsonschema~=3.0->cfn-lint) (4.0.2)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /usr/lib/python2.7/site-packages (from botocore<1.21.0,>=1.20.97->boto3~=1.5->aws-sam-translator>=1.36.0->cfn-lint) (2.6.0)
Requirement already satisfied: urllib3<1.27,>=1.25.4 in /usr/lib/python2.7/site-packages (from botocore<1.21.0,>=1.20.97->boto3~=1.5->aws-sam-translator>=1.36.0->cfn-lint) (1.25.7)
Requirement already satisfied: futures<4.0.0,>=2.2.0; python_version == "2.7" in /usr/lib/python2.7/site-packages (from s3transfer<0.5.0,>=0.4.0->boto3~=1.5->aws-sam-translator>=1.36.0->cfn-lint) (3.0.5)
Using legacy 'setup.py install' for cfn-lint, since package 'wheel' is not installed.
Using legacy 'setup.py install' for networkx, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pyrsistent, since package 'wheel' is not installed.
Using legacy 'setup.py install' for functools32, since package 'wheel' is not installed.
Using legacy 'setup.py install' for scandir, since package 'wheel' is not installed.
Installing collected packages: botocore, boto3, functools32, pyrsistent, contextlib2, scandir, pathlib2, zipp, importlib-metadata, attrs, jsonschema, aws-sam-translator, junit-xml, typing, importlib-resources, pyyaml, decorator, networkx, cfn-lint
Attempting uninstall: botocore
Found existing installation: botocore 1.20.94
Uninstalling botocore-1.20.94:
Successfully uninstalled botocore-1.20.94
Running setup.py install for functools32 ... done
Running setup.py install for pyrsistent ... done
Running setup.py install for scandir ... done
Attempting uninstall: jsonschema
Found existing installation: jsonschema 2.5.1
Uninstalling jsonschema-2.5.1:
Successfully uninstalled jsonschema-2.5.1
Attempting uninstall: pyyaml
Found existing installation: PyYAML 3.10
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.