[GH-ISSUE #835] oauth2.py using raw_input #516

Closed
opened 2026-02-27 23:23:04 +03:00 by kerem · 2 comments
Owner

Originally created by @itsa-mee-mario on GitHub (Jun 29, 2022).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/835

Traceback (most recent call last):
  File "/home/spotifywalls/.local/lib/python3.9/site-packages/spotipy/oauth2.py", line 115, in _get_user_input
    return raw_input(prompt)
NameError: name 'raw_input' is not defined

Raw input isnt available in python3 and causes an error

  • pythonanywhere
  • Python 3.9
  • spotipy 2.20
Originally created by @itsa-mee-mario on GitHub (Jun 29, 2022). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/835 ``` Traceback (most recent call last): File "/home/spotifywalls/.local/lib/python3.9/site-packages/spotipy/oauth2.py", line 115, in _get_user_input return raw_input(prompt) NameError: name 'raw_input' is not defined ``` Raw input isnt available in python3 and causes an error - pythonanywhere - Python 3.9 - spotipy 2.20
kerem 2026-02-27 23:23:04 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@EstebanVargas10 commented on GitHub (Sep 3, 2022):

+1

Python 3.9.6

<!-- gh-comment-id:1236212562 --> @EstebanVargas10 commented on GitHub (Sep 3, 2022): +1 Python 3.9.6
Author
Owner

@stephanebruckert commented on GitHub (Jul 9, 2024):

This is resolved github.com/spotipy-dev/spotipy@1e05bdba67/spotipy/oauth2.py (L107..L110)

<!-- gh-comment-id:2218400316 --> @stephanebruckert commented on GitHub (Jul 9, 2024): This is resolved https://github.com/spotipy-dev/spotipy/blob/1e05bdba67f8b7e8fcd4b419176a0048c329b1b7/spotipy/oauth2.py#L107..L110
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/spotipy#516
No description provided.