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

No forward, xdg-open: 811 : Permission denied #1

Open
70A5 opened this issue Apr 4, 2022 · 1 comment
Open

No forward, xdg-open: 811 : Permission denied #1

70A5 opened this issue Apr 4, 2022 · 1 comment

Comments

@70A5
Copy link

70A5 commented Apr 4, 2022

Hello there,
I am not getting forwarded to the link I should paste into the terminal.
I get a /usr/bin/xdg-open: 811: : permission denied.
this is with both test.py and one-button-spotify.py.
Using sudo test.py returns ModuleNotFoundError: No module named 'spotipy', but a pip or pip3 install spotipy it is already there.
Looking for some help. Thanks in advance.

@bishely
Copy link
Owner

bishely commented Apr 6, 2022

Hi,

I'm afraid I'm not sure what's going wrong for you - my best guess is that whichever python you're running isn't the one that pip is managing. I'd recommend setting up a venv and running pip, and the scripts, inside there. You can also skip the pip install git+https://github.com/plamere/spotipy.git step and just issue pip install spotipy

Also please note that pip3/python3 won't work as a lot of this script uses python2 conventions that aren't compatible with python3.

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

2 participants