aws-cloudformation / aws-cloudformation/cloudformation-cli

setuptools dependency

Open
#1,067 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
336
Forks
172
Avg merge
3d 5m
Merged PRs (30d)
3

Description

The _cloudformation-cli_ does not work if the `setuptools` package is not installed.

Attempts to issue any command, for example `cfn init`, fail with an ambiguous error message:

```
ModuleNotFoundError: No module named 'pkg_resources'
```

Installing `setuptools` fixes the issue.

It would be great if this dependency was explicitly stated in the docs, or if `setuptools` would get installed automatically by pip when _cloudformation-cli_ is installed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.