cfn-lint 0.29.0 installed via homebrew unable to find networkx distribution.
See original GitHub issuecfn-lint version: (cfn-lint --version
)
0.29.0 (via Homebrew)
Description of issue.
After updating cfn-lint via homebrew, I now get the following error, even when trying to run the command to get the version (cfn-lint --version
).
Traceback (most recent call last):
File "/usr/local/bin/cfn-lint", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/local/Cellar/cfn-lint/0.29.0/libexec/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3255, in <module>
def _initialize_master_working_set():
File "/usr/local/Cellar/cfn-lint/0.29.0/libexec/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3238, in _call_aside
f(*args, **kwargs)
File "/usr/local/Cellar/cfn-lint/0.29.0/libexec/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3267, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/Cellar/cfn-lint/0.29.0/libexec/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master
ws.require(__requires__)
File "/usr/local/Cellar/cfn-lint/0.29.0/libexec/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/Cellar/cfn-lint/0.29.0/libexec/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'networkx~=2.4' distribution was not found and is required by cfn-lint
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:5 (4 by maintainers)
Top Results From Across the Web
cfn-lint 0.29.0 installed via homebrew unable to find networkx ...
After updating cfn-lint via homebrew, I now get the following error, even when trying to run the command to get the version (...
Read more >cfn-lint Changelog - pyup.io
- Parse YAML files using C parser when available. Greatly speeds up YAML parsing. Fixes - Template class updated to handle conditions where...
Read more >cfn-lint - Homebrew Formulae
Install command: brew install cfn-lint. Validate CloudFormation templates against the CloudFormation spec. https://github.com/aws-cloudformation/cfn-lint ...
Read more >Compare Packages Between Distributions - DistroWatch.com
This page enables us to quickly perform a side-by-side comparison of the packages available in two different distributions, or in two different versions...
Read more >conda-forge - :: Anaconda.org
7za, 9.20, LGPL, X, A file archiver with a high compression ratio ... Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I updated via brew, and all seems to be working. Thanks for the quick fix, @chenrui333.
Just released the fix, let me know if it works on your end now.
cc @rzyns