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

please consider adding requirements.txt or pyproject.toml with pinned dependencies #1

Open
kodzonko opened this issue May 22, 2024 · 0 comments

Comments

@kodzonko
Copy link

Please add dependencies with appropriate versions if this script is meant for public use. I tried installing the latest versions (currently it's google-api-python-client==2.129.0, google_auth_oauthlib==1.2.0 and requests==2.32.2)

but get the error:

Traceback (most recent call last):
  File "C:\Users\janwa\Downloads\spotify-youtube-playlist-converter-master\convert_playlist.py", line 181, in <module>
    cp = ConvertPlaylist()
         ^^^^^^^^^^^^^^^^^
  File "C:\Users\janwa\Downloads\spotify-youtube-playlist-converter-master\convert_playlist.py", line 24, in __init__
    self.youtube = self.get_youtube_client()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\janwa\Downloads\spotify-youtube-playlist-converter-master\convert_playlist.py", line 94, in get_youtube_client
    credentials = flow.run_console()
                  ^^^^^^^^^^^^^^^^
AttributeError: 'InstalledAppFlow' object has no attribute 'run_console'

knowing google's approach they probably changed the API and dropped backwards compatibility.

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