question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cfn-lint 0.29.0 installed via homebrew unable to find networkx distribution.

See original GitHub issue

cfn-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:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
harveymonstercommented, Mar 25, 2020

I updated via brew, and all seems to be working. Thanks for the quick fix, @chenrui333.

1reaction
chenrui333commented, Mar 25, 2020

Just released the fix, let me know if it works on your end now.

cc @rzyns

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found