Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'pkg_resources' #125

Open
andreasabel opened this issue Jan 29, 2025 · 0 comments
Open

ModuleNotFoundError: No module named 'pkg_resources' #125

andreasabel opened this issue Jan 29, 2025 · 0 comments

Comments

@andreasabel
Copy link

$ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant