Skip to content

Python 3.13 and __main__.py L257: Initialization failure: No module named 'pkg_resources' #1728

Description

@rbeede
ERROR __main__.py L257: Initialization failure: No module named 'pkg_resources'

Ubuntu 25.10
Python 3.13.7
Google Cloud SDK 565.0.0
Scout Suite 5.14.0

Same error whether I pip install scoutsuite or git clone the current repo version.

Fix

pip install -r requirements.txt
pip install \
  "google-cloud-monitoring>=2.0.0" \
  "google-cloud-kms>=2.0.0" \
  "google-api-core>=2.11.0" \
  "protobuf>=3.20.3,<4.0.0" \
  setuptools

So the requirements.txt probably needs updated for Python 3.13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpotentialUnconfirmed issue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions