Skip to content

ModuleNotFoundError: No module named 'pkg_resources' #125

@andreasabel

Description

@andreasabel
$ opendrop find
Traceback (most recent call last):
  File "/Users/abel/.local/bin/opendrop", line 5, in <module>
    from opendrop.cli import main
  File "/Users/abel/.local/pipx/venvs/opendrop/lib/python3.13/site-packages/opendrop/cli.py", line 29, in <module>
    from .config import AirDropConfig, AirDropReceiverFlags
  File "/Users/abel/.local/pipx/venvs/opendrop/lib/python3.13/site-packages/opendrop/config.py", line 27, in <module>
    from pkg_resources import resource_filename
ModuleNotFoundError: No module named 'pkg_resources'

Seems like opendrop does not work anymore with recent Python (I have 3.13.1).
Here is an issue saying that pkg_resources is deprecated and has been removed from the standard library:

If there are additional prerequisites needed not mentioned in your README, it would be good to add them there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions