[GH-ISSUE #170] "webbrowser" cannot work on headless devices #86

Closed
opened 2026-02-27 23:20:45 +03:00 by kerem · 1 comment
Owner

Originally created by @shantanugoel on GitHub (Mar 12, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/170

There was a dependency added on "webbrowser" module with #139. However, this makes spotipy unusable on headless installs as there is no browser present there and even the package doesn't exist in pip for such devices and spotipy fails to even run.

The earlier method of subprocess call, in comparison, was a minor inconvenience on systems where browser didn't open automatically as url could be clicked/copied from the terminal. I request to revert this change, if possible.

Originally created by @shantanugoel on GitHub (Mar 12, 2017). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/170 There was a dependency added on "webbrowser" module with #139. However, this makes spotipy unusable on headless installs as there is no browser present there and even the package doesn't exist in pip for such devices and spotipy fails to even run. The earlier method of subprocess call, in comparison, was a minor inconvenience on systems where browser didn't open automatically as url could be clicked/copied from the terminal. I request to revert this change, if possible.
kerem closed this issue 2026-02-27 23:20:46 +03:00
Author
Owner

@shantanugoel commented on GitHub (Jul 28, 2018):

Closing as this is fixed in #173

<!-- gh-comment-id:408622203 --> @shantanugoel commented on GitHub (Jul 28, 2018): Closing as this is fixed in #173
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#86
No description provided.