How to install cloudformation-cli-typescript-plugin on M1 Mac

0

I have unsuccessfully tried to install the cloudformation-cli-typescript-plugin on my M1 Mac. It failed with pip3 and brew. I'm using MacOS Ventura 13.5.1.

Does anyone know how to install it?

prenner
asked 8 months ago154 views
1 Answer
0

Could you show the error you have? I tried to reproduce on my side (MacOS Ventrua 13.5.1) and have no errors:

❯ pip3 install cloudformation-cli-typescript-plugin
Collecting cloudformation-cli-typescript-plugin
  Downloading cloudformation_cli_typescript_plugin-1.0.2-py3-none-any.whl (19 kB)
Collecting cloudformation-cli>=0.1.14 (from cloudformation-cli-typescript-plugin)
  Obtaining dependency information for cloudformation-cli>=0.1.14 from https://files.pythonhosted.org/packages/26/ac/8b7173e161bb08bac48abd5512bf7a6e901bb4cdc5739ce091b961ce98f4/cloudformation_cli-0.2.32-py3-none-any.whl.metadata
  Downloading cloudformation_cli-0.2.32-py3-none-any.whl.metadata (10 kB)
Collecting zipfile38<0.2,>=0.0.3 (from cloudformation-cli-typescript-plugin)
  Downloading zipfile38-0.0.3.tar.gz (22 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: boto3>=1.10.20 in /opt/homebrew/lib/python3.11/site-packages (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (1.26.88)
Requirement already satisfied: Jinja2>=3.1.2 in /opt/homebrew/lib/python3.11/site-packages (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (3.1.2)
Requirement already satisfied: markupsafe>=2.1.0 in /opt/homebrew/lib/python3.11/site-packages (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (2.1.2)
Collecting jsonschema<4.0,>=3.0.1 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 kB 5.5 MB/s eta 0:00:00
Collecting pytest>=4.5.0 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for pytest>=4.5.0 from https://files.pythonhosted.org/packages/78/af/1a79db43409ea8569a8a91d0a87db4445c7de4cefcf6141e9a5c77dda2d6/pytest-7.4.1-py3-none-any.whl.metadata
  Downloading pytest-7.4.1-py3-none-any.whl.metadata (7.9 kB)
Collecting pytest-random-order>=1.0.4 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading pytest_random_order-1.1.0-py3-none-any.whl (11 kB)
Collecting pytest-localserver>=0.5.0 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for pytest-localserver>=0.5.0 from https://files.pythonhosted.org/packages/c4/1b/9d3871f99ee80f63c3aaa99d5ead876e331e5feccd4ed01a4a625e8187df/pytest_localserver-0.8.0-py3-none-any.whl.metadata
  Downloading pytest_localserver-0.8.0-py3-none-any.whl.metadata (11 kB)
Collecting Werkzeug>=2.2.0 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for Werkzeug>=2.2.0 from https://files.pythonhosted.org/packages/9b/59/a7c32e3d8d0e546a206e0552a2c04444544f15c1da4a01df8938d20c6ffc/werkzeug-2.3.7-py3-none-any.whl.metadata
  Downloading werkzeug-2.3.7-py3-none-any.whl.metadata (4.1 kB)
Requirement already satisfied: PyYAML<6.0,>=5.1 in /opt/homebrew/lib/python3.11/site-packages (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (5.4.1)
Requirement already satisfied: requests>=2.22 in /opt/homebrew/lib/python3.11/site-packages (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (2.28.2)
Collecting hypothesis>=4.32 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for hypothesis>=4.32 from https://files.pythonhosted.org/packages/8c/cd/cd3936a721d3604db54c0c061a3130bf752962e8484e10270fd227e61c06/hypothesis-6.83.1-py3-none-any.whl.metadata
  Downloading hypothesis-6.83.1-py3-none-any.whl.metadata (5.9 kB)
Requirement already satisfied: colorama>=0.4.1 in /opt/homebrew/lib/python3.11/site-packages (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (0.4.4)
Collecting docker>=4.3.1 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for docker>=4.3.1 from https://files.pythonhosted.org/packages/db/be/3032490fa33b36ddc8c4b1da3252c6f974e7133f1a50de00c6b85cca203a/docker-6.1.3-py3-none-any.whl.metadata
  Downloading docker-6.1.3-py3-none-any.whl.metadata (3.5 kB)
Collecting ordered-set>=4.0.2 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Collecting cfn-lint<=0.72.10 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading cfn_lint-0.72.10-py3-none-any.whl (2.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 4.9 MB/s eta 0:00:00
Collecting cfn-flip>=1.2.3 (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading cfn_flip-1.3.0-py3-none-any.whl (21 kB)
Collecting nested-lookup (from cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading nested-lookup-0.2.25.tar.gz (14 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: botocore<1.30.0,>=1.29.88 in /opt/homebrew/lib/python3.11/site-packages (from boto3>=1.10.20->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (1.29.88)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in /opt/homebrew/lib/python3.11/site-packages (from boto3>=1.10.20->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (1.0.1)
Requirement already satisfied: s3transfer<0.7.0,>=0.6.0 in /opt/homebrew/lib/python3.11/site-packages (from boto3>=1.10.20->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (0.6.0)
Requirement already satisfied: Click in /opt/homebrew/lib/python3.11/site-packages (from cfn-flip>=1.2.3->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (8.1.3)
Requirement already satisfied: six in /opt/homebrew/lib/python3.11/site-packages (from cfn-flip>=1.2.3->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (1.16.0)
Collecting aws-sam-translator>=1.57.0 (from cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for aws-sam-translator>=1.57.0 from https://files.pythonhosted.org/packages/c1/73/9ba1086711ca1091263d520113facf1760f13ae3979d107cc96752c54c77/aws_sam_translator-1.74.0-py3-none-any.whl.metadata
  Downloading aws_sam_translator-1.74.0-py3-none-any.whl.metadata (8.4 kB)
Collecting jsonpatch (from cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for jsonpatch from https://files.pythonhosted.org/packages/73/07/02e16ed01e04a374e644b575638ec7987ae846d25ad97bcc9945a3ee4b0e/jsonpatch-1.33-py2.py3-none-any.whl.metadata
  Downloading jsonpatch-1.33-py2.py3-none-any.whl.metadata (3.0 kB)
Collecting networkx~=2.4 (from cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading networkx-2.8.8-py3-none-any.whl (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 8.9 MB/s eta 0:00:00
Collecting junit-xml~=1.9 (from cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading junit_xml-1.9-py2.py3-none-any.whl (7.1 kB)
Collecting jschema-to-python~=1.2.3 (from cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading jschema_to_python-1.2.3-py3-none-any.whl (10 kB)
Collecting sarif-om~=1.0.4 (from cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading sarif_om-1.0.4-py3-none-any.whl (30 kB)
Collecting packaging>=14.0 (from docker>=4.3.1->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading packaging-23.1-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 4.3 MB/s eta 0:00:00
Requirement already satisfied: urllib3>=1.26.0 in /opt/homebrew/lib/python3.11/site-packages (from docker>=4.3.1->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (1.26.14)
Collecting websocket-client>=0.32.0 (from docker>=4.3.1->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for websocket-client>=0.32.0 from https://files.pythonhosted.org/packages/4b/4a/3176388095e5bae6e6a1fbee66c438809230ae0196e7de4af12c5e75c509/websocket_client-1.6.2-py3-none-any.whl.metadata
  Downloading websocket_client-1.6.2-py3-none-any.whl.metadata (7.5 kB)
Collecting attrs>=19.2.0 (from hypothesis>=4.32->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 5.0 MB/s eta 0:00:00
Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis>=4.32->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting pyrsistent>=0.14.0 (from jsonschema<4.0,>=3.0.1->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading pyrsistent-0.19.3-cp311-cp311-macosx_10_9_universal2.whl (82 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.6/82.6 kB 5.9 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /opt/homebrew/lib/python3.11/site-packages (from jsonschema<4.0,>=3.0.1->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (68.1.2)
Collecting iniconfig (from pytest>=4.5.0->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting pluggy<2.0,>=0.12 (from pytest>=4.5.0->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for pluggy<2.0,>=0.12 from https://files.pythonhosted.org/packages/05/b8/42ed91898d4784546c5f06c60506400548db3f7a4b3fb441cba4e5c17952/pluggy-1.3.0-py3-none-any.whl.metadata
  Downloading pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/homebrew/lib/python3.11/site-packages (from requests>=2.22->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/lib/python3.11/site-packages (from requests>=2.22->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.11/site-packages (from requests>=2.22->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (2022.12.7)
Requirement already satisfied: typing-extensions<5,>=4.4 in /opt/homebrew/lib/python3.11/site-packages (from aws-sam-translator>=1.57.0->cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (4.7.1)
Collecting pydantic~=1.8 (from aws-sam-translator>=1.57.0->cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for pydantic~=1.8 from https://files.pythonhosted.org/packages/f9/e7/8dc6b418c3eefd15274e93e58ebd7ed95a650cc0ee3f38673bb56a8aa3f7/pydantic-1.10.12-cp311-cp311-macosx_11_0_arm64.whl.metadata
  Downloading pydantic-1.10.12-cp311-cp311-macosx_11_0_arm64.whl.metadata (149 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.3/149.3 kB 7.9 MB/s eta 0:00:00
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /opt/homebrew/lib/python3.11/site-packages (from botocore<1.30.0,>=1.29.88->boto3>=1.10.20->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin) (2.8.2)
Collecting jsonpickle (from jschema-to-python~=1.2.3->cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for jsonpickle from https://files.pythonhosted.org/packages/d3/25/6e0a450430b7aa194b0f515f64820fc619314faa289458b7dfca4a026114/jsonpickle-3.0.2-py3-none-any.whl.metadata
  Downloading jsonpickle-3.0.2-py3-none-any.whl.metadata (7.5 kB)
Collecting pbr (from jschema-to-python~=1.2.3->cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Downloading pbr-5.11.1-py2.py3-none-any.whl (112 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.7/112.7 kB 7.6 MB/s eta 0:00:00
Collecting jsonpointer>=1.9 (from jsonpatch->cfn-lint<=0.72.10->cloudformation-cli>=0.1.14->cloudformation-cli-typescript-plugin)
  Obtaining dependency information for jsonpointer>=1.9 from https://files.pythonhosted.org/packages/12/f6/0232cc0c617e195f06f810534d00b74d2f348fe71b2118009ad8ad31f878/jsonpointer-2.4-py2.py3-none-any.whl.metadata
  Downloading jsonpointer-2.4-py2.py3-none-any.whl.metadata (2.5 kB)
Downloading cloudformation_cli-0.2.32-py3-none-any.whl (132 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.6/132.6 kB 1.1 MB/s eta 0:00:00
Downloading docker-6.1.3-py3-none-any.whl (148 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.1/148.1 kB 8.9 MB/s eta 0:00:00
Downloading hypothesis-6.83.1-py3-none-any.whl (416 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 416.1/416.1 kB 9.9 MB/s eta 0:00:00
Downloading pytest-7.4.1-py3-none-any.whl (324 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 324.2/324.2 kB 8.8 MB/s eta 0:00:00
Downloading pytest_localserver-0.8.0-py3-none-any.whl (19 kB)
Downloading werkzeug-2.3.7-py3-none-any.whl (242 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.2/242.2 kB 8.8 MB/s eta 0:00:00
Downloading aws_sam_translator-1.74.0-py3-none-any.whl (374 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 374.3/374.3 kB 10.0 MB/s eta 0:00:00
Downloading pluggy-1.3.0-py3-none-any.whl (18 kB)
Downloading websocket_client-1.6.2-py3-none-any.whl (57 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.0/57.0 kB 4.5 MB/s eta 0:00:00
Downloading jsonpatch-1.33-py2.py3-none-any.whl (12 kB)
Downloading jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB)
Downloading pydantic-1.10.12-cp311-cp311-macosx_11_0_arm64.whl (2.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 6.0 MB/s eta 0:00:00
Downloading jsonpickle-3.0.2-py3-none-any.whl (40 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.7/40.7 kB 3.5 MB/s eta 0:00:00
Building wheels for collected packages: zipfile38, nested-lookup
  Building wheel for zipfile38 (setup.py) ... done
  Created wheel for zipfile38: filename=zipfile38-0.0.3-py3-none-any.whl size=22735 sha256=7a91cf2144e07a6c3454f34081dfddf203ba5b0cc0333b974923c6d263c7f90d
  Stored in directory: /Users/lex/Library/Caches/pip/wheels/d7/b8/09/0809cac8b0e736b754e2bbc344132b9012bae6dd53c5efbd57
  Building wheel for nested-lookup (setup.py) ... done
  Created wheel for nested-lookup: filename=nested_lookup-0.2.25-py3-none-any.whl size=13160 sha256=d273bef3f0bf2fb29c07842e2e1fd2d64ba378f4b63a55fdc71773df8ffbc0e6
  Stored in directory: /Users/lex/Library/Caches/pip/wheels/d6/a2/49/a80fc2727d0e42f6c5650908f856fbaaa0252842f181291e25
Successfully built zipfile38 nested-lookup
Installing collected packages: zipfile38, sortedcontainers, Werkzeug, websocket-client, pyrsistent, pydantic, pluggy, pbr, packaging, ordered-set, networkx, nested-lookup, junit-xml, jsonpointer, jsonpickle, iniconfig, cfn-flip, attrs, sarif-om, pytest-localserver, 
profile picture
EXPERT
answered 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions