Skip to content

Dependency conflict: protobuf incompatibility between librespot and pywidevine makes Votify unusable #105

Description

@onlygiogi

I’m unable to install or run Votify due to unresolved and conflicting protobuf dependencies between librespot, pywidevine, and votify itself.
Even after multiple clean virtual environment setups, the project fails due to incompatible protobuf version requirements.

Steps to reproduce:

python -m venv venv
venv\Scripts\activate
pip install votify[librespot]
votify "<playlist_url>" --output "<output_path>" --cookies-path "<cookies.txt>"

Actual behavior:

The installation or runtime fails with protobuf-related errors such as:

TypeError: Descriptors cannot be created directly
ImportError: cannot import name 'runtime_version' from google.protobuf

And multiple dependency conflicts like:

librespot requires protobuf==3.20.1
pywidevine requires protobuf==4.21.6 or >=6.x

Votify / generated protobuf code is incompatible across these versions

Environment:

OS: Windows 11
Python: 3.11 / 3.13 (both tested)
Votify: 1.9.9
pip: latest version
Installed in clean virtual environments

Additional notes

I also attempted manually pinning compatible versions of protobuf, librespot, and pywidevine, but there is no known working combination where all dependencies resolve successfully.

It appears to be a structural incompatibility between dependencies rather than a user environment issue.

Is there a known compatible set of dependency versions, or an older stable branch of Votify that avoids the protobuf conflicts between librespot and pywidevine?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions