[GH-ISSUE #160] ImportError: cannot import name 'builder' from 'google.protobuf.internal' [BUG] #26

Open
opened 2026-02-27 08:11:29 +03:00 by kerem · 3 comments
Owner

Originally created by @Prones22 on GitHub (Oct 22, 2022).
Original GitHub issue: https://github.com/kokarare1212/librespot-python/issues/160

Trying to use the "Get Spotify's OAuth token" from Readme.md file but seems to fail.

Originally created by @Prones22 on GitHub (Oct 22, 2022). Original GitHub issue: https://github.com/kokarare1212/librespot-python/issues/160 Trying to use the "Get Spotify's OAuth token" from Readme.md file but seems to fail.
Author
Owner

@kokarare1212 commented on GitHub (Oct 22, 2022):

That seems to be due to the version of protobuf being too old.
Please update protobuf(<4.x.x).
https://stackoverflow.com/a/71984564

<!-- gh-comment-id:1287765045 --> @kokarare1212 commented on GitHub (Oct 22, 2022): That seems to be due to the version of protobuf being too old. Please update protobuf(<4.x.x). https://stackoverflow.com/a/71984564
Author
Owner

@Prones22 commented on GitHub (Dec 17, 2022):

That seems to be due to the version of protobuf being too old. Please update protobuf(<4.x.x). https://stackoverflow.com/a/71984564

Fixed, thank you!
Do you have an idea how I can use a proxy for the access token process?

<!-- gh-comment-id:1356403537 --> @Prones22 commented on GitHub (Dec 17, 2022): > That seems to be due to the version of protobuf being too old. Please update protobuf(<4.x.x). https://stackoverflow.com/a/71984564 Fixed, thank you! Do you have an idea how I can use a proxy for the access token process?
Author
Owner

@kokarare1212 commented on GitHub (Jan 2, 2023):

The proxy is not yet supported, but there are plans to do so.

<!-- gh-comment-id:1368577229 --> @kokarare1212 commented on GitHub (Jan 2, 2023): The proxy is not yet supported, but there are plans to do so.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot-python-kokarare1212#26
No description provided.