Installation
Use pip3 not pip due to incompats with Python 2.7 and 3.6
https://github.com/Kotaimen/awscfncli
OSX
biometric:DynamoDB michaelobrien$ pip3 install --user --pre awscfncli2 Collecting awscfncli2 Downloading awscfncli2-3.0.1-py2.py3-none-any.whl (60 kB) |████████████████████████████████| 60 kB 3.2 MB/s Collecting PyYAML<5.4,>=3.10 Downloading PyYAML-5.3.1.tar.gz (269 kB) |████████████████████████████████| 269 kB 5.5 MB/s Requirement already satisfied: boto3 in /usr/local/lib/python3.9/site-packages (from awscfncli2) (1.17.112) Collecting awscli Downloading awscli-1.20.0-py3-none-any.whl (3.6 MB) |████████████████████████████████| 3.6 MB 16.0 MB/s Collecting click~=7.0 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) |████████████████████████████████| 82 kB 4.5 MB/s Collecting click-completion==0.5.2 Downloading click-completion-0.5.2.tar.gz (10 kB) Requirement already satisfied: jsonschema>=2.6.0 in /usr/local/lib/python3.9/site-packages (from awscfncli2) (3.2.0) Requirement already satisfied: botocore in /usr/local/lib/python3.9/site-packages (from awscfncli2) (1.20.112) Collecting backoff Downloading backoff-1.11.1-py2.py3-none-any.whl (13 kB) Requirement already satisfied: jinja2 in /usr/local/lib/python3.9/site-packages (from click-completion==0.5.2->awscfncli2) (2.11.3) Requirement already satisfied: six in /usr/local/lib/python3.9/site-packages (from click-completion==0.5.2->awscfncli2) (1.16.0) Collecting shellingham Downloading shellingham-1.4.0-py2.py3-none-any.whl (9.4 kB) Requirement already satisfied: pyrsistent>=0.14.0 in /usr/local/lib/python3.9/site-packages (from jsonschema>=2.6.0->awscfncli2) (0.18.0) Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (from jsonschema>=2.6.0->awscfncli2) (57.0.0) Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.9/site-packages (from jsonschema>=2.6.0->awscfncli2) (21.2.0) Collecting botocore Downloading botocore-1.21.0-py3-none-any.whl (7.7 MB) |████████████████████████████████| 7.7 MB 51.5 MB/s Collecting rsa<4.8,>=3.1.2 Downloading rsa-4.7.2-py3-none-any.whl (34 kB) Collecting s3transfer<0.6.0,>=0.5.0 Downloading s3transfer-0.5.0-py3-none-any.whl (79 kB) |████████████████████████████████| 79 kB 21.6 MB/s Collecting colorama<0.4.4,>=0.2.5 Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB) Collecting docutils<0.16,>=0.10 Downloading docutils-0.15.2-py3-none-any.whl (547 kB) |████████████████████████████████| 547 kB 51.7 MB/s Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /usr/local/lib/python3.9/site-packages (from botocore->awscfncli2) (0.10.0) Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /usr/local/lib/python3.9/site-packages (from botocore->awscfncli2) (2.8.2) Requirement already satisfied: urllib3<1.27,>=1.25.4 in /usr/local/lib/python3.9/site-packages (from botocore->awscfncli2) (1.26.6) Collecting pyasn1>=0.1.3 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) |████████████████████████████████| 77 kB 24.4 MB/s Collecting boto3 Downloading boto3-1.18.0-py3-none-any.whl (131 kB) |████████████████████████████████| 131 kB 51.0 MB/s Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.9/site-packages (from jinja2->click-completion==0.5.2->awscfncli2) (2.0.1) Building wheels for collected packages: click-completion, PyYAML Building wheel for click-completion (setup.py) ... done Created wheel for click-completion: filename=click_completion-0.5.2-py3-none-any.whl size=11201 sha256=d6985ece21bf486420d9c090cf41090165ec8f03e8d63f3154ca2af5c068f736 Stored in directory: /Users/michaelobrien/Library/Caches/pip/wheels/f1/23/55/8287077a0e274c8d7ddf94fb623cb481cd0f4512d1a5062603 Building wheel for PyYAML (setup.py) ... done Created wheel for PyYAML: filename=PyYAML-5.3.1-cp39-cp39-macosx_10_15_x86_64.whl size=44641 sha256=2a76a9737967a66b6c43812fc8a53b987b84003b6d31254cfa19db558fa27492 Stored in directory: /Users/michaelobrien/Library/Caches/pip/wheels/69/60/81/5cd74b8ee068fbe9e04ca0d53148f28f5c6e2c5b177d5dd622 Successfully built click-completion PyYAML Installing collected packages: pyasn1, botocore, shellingham, s3transfer, rsa, PyYAML, docutils, colorama, click, click-completion, boto3, backoff, awscli, awscfncli2 WARNING: The scripts pyrsa-decrypt, pyrsa-encrypt, pyrsa-keygen, pyrsa-priv2pub, pyrsa-sign and pyrsa-verify are installed in '/Users/michaelobrien/Library/Python/3.9/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. NOTE: The current PATH contains path(s) starting with `~`, which may not be expanded by all applications. WARNING: The script cfn-cli is installed in '/Users/michaelobrien/Library/Python/3.9/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. NOTE: The current PATH contains path(s) starting with `~`, which may not be expanded by all applications. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. cfn-lint 0.52.0 requires pyyaml>=5.4; python_version != "3.4" and python_version != "3.5", but you have pyyaml 5.3.1 which is incompatible. Successfully installed PyYAML-5.3.1 awscfncli2-3.0.1 awscli-1.20.0 backoff-1.11.1 boto3-1.18.0 botocore-1.21.0 click-7.1.2 click-completion-0.5.2 colorama-0.4.3 docutils-0.15.2 pyasn1-0.4.8 rsa-4.7.2 s3transfer-0.5.0 shellingham-1.4.0 biometric:DynamoDB michaelobrien$ pip3 install --user --pre awscfncli2
Windows
starting with a p52 and p17 PS C:\Windows\system32> python --version Python 2.7.10 PS C:\Windows\system32> pip --version pip 7.0.1 from C:\opt\Python27\lib\site-packages (python 2.7) PS C:\Windows\system32> aws --version aws-cli/2.1.29 Python/3.8.8 Windows/10 exe/AMD64 prompt/off PS C:\Windows\system32> pip install --user --pre awscfncli2 You are using pip version 7.0.1, however version 21.1.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Collecting awscfncli2 Downloading https://files.pythonhosted.org/packages/1e/c2/5c8167f1f3b10d713b1b5b446cd55782e67c91d894920acec929fc5a72e6/awscfncli2-3.0.1-py2.py3-none-any.whl (60kB) 100% |################################| 61kB 2.6MB/s Collecting awscli (from awscfncli2) Downloading https://files.pythonhosted.org/packages/62/a0/ff0e0f829e7f81f182d280e46de48c2c6a984ae3a7bb6396671c05e2c1b1/awscli-1.20.0.tar.gz (1.5MB) 100% |################################| 1.5MB 362kB/s Collecting click-completion==0.5.2 (from awscfncli2) Downloading https://files.pythonhosted.org/packages/93/18/74e2542defdda23b021b12b835b7abbd0fc55896aa8d77af280ad65aa406/click-completion-0.5.2.tar.gz Complete output from command python setup.py egg_info: error in click-completion setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in enum34; python_version<"3" at ; python_version<"3" ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in c:\users\michae~1\appdata\local\temp\pip-build-9_wck7\click-completion PS C:\Windows\system32> upgrade pip and python first