Skip to content

ModuleNotFoundError: No module named 'pkg_resources' #50

Description

@mutanthumb

I recently installed py-wacz on a new laptop and received the following error message when trying to run wacz:
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.14/bin/wacz", line 3, in <module> from wacz.main import main File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/wacz/main.py", line 3, in <module> import os, json, datetime, shutil, zipfile, sys, gzip, pkg_resources ModuleNotFoundError: No module named 'pkg_resources'

Resolved this error with pip install setuptools==81.0

It seems that setuptools 82.0 removed pkg_resources. https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources#comment140975506_10538412

Thanks,
susan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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