Skip to content

Unable to Download - No module named 'pkg_resources #2632

@mertensblackfyre

Description

@mertensblackfyre

System OS

Linux

Python Version

Other

Install Source

Other

Install version / commit hash

spotdl 3.9.6

Expected Behavior vs Actual Behavior

Expected Behavior:
Expected to show options after running spotdl -h

Actual Behavior:
The download fails with a format availability error, preventing any songs from being downloaded.

Steps to reproduce - Ensure to include actual links!

  1. install with pipx install spotdl
  2. run this curl -L https://raw.githubusercontent.com/TzurSoffer/spotify-downloader/master/spotdl/utils/spotify.py -o ~/.local/share/pipx/venvs/spotdl/lib/python3.14/site-packages/spotdl/utils/spotify.py
  3. inject with pipx inject spotdl spotipyfree
  4. then run spodl. Command will fail and produce the following error

Traceback

Traceback (most recent call last):
  File "/home/mertens/.local/bin/spotdl", line 3, in <module>
    from spotdl import console_entry_point
  File "/home/mertens/.local/share/pipx/venvs/spotdl/lib/python3.14/site-packages/spotdl/__init__.py", line 1, in <module>
    from .__main__ import console_entry_point
  File "/home/mertens/.local/share/pipx/venvs/spotdl/lib/python3.14/site-packages/spotdl/__main__.py", line 1, in <module>
    from spotdl.console import console_entry_point
  File "/home/mertens/.local/share/pipx/venvs/spotdl/lib/python3.14/site-packages/spotdl/console/__init__.py", line 7, in <module>
    from spotdl.parsers import parse_arguments, parse_query
  File "/home/mertens/.local/share/pipx/venvs/spotdl/lib/python3.14/site-packages/spotdl/parsers/__init__.py", line 1, in <module>
    from spotdl.parsers.argument_parser import parse_arguments  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mertens/.local/share/pipx/venvs/spotdl/lib/python3.14/site-packages/spotdl/parsers/argument_parser.py", line 3, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

Other details

OS: Arch Linux
Python version: 3.14

setuptools latest version is already installed on my system

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugUnexpected problem or unintended behavior that needs to be fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions