youtube / api-samples

Code samples for YouTube APIs, including the YouTube Data API, YouTube Analytics API, and YouTube Live Streaming API. The repo contains language-specific directories that contain the samples.
5.5k stars 2.98k forks source link

error when running python sample #547

Open stephane-archer opened 4 months ago

stephane-archer commented 4 months ago
python3 quickstart.py
Traceback (most recent call last):
  File "quickstart.py", line 41, in <module>
    service = get_authenticated_service()
  File "quickstart.py", line 24, in get_authenticated_service
    credentials = flow.run_console()
AttributeError: 'InstalledAppFlow' object has no attribute 'run_console'
ValonVN0 commented 3 months ago

Seconded, simply using the example code provided via the api site and getting the same issue.