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

Cant run #2

Open
JPRuehmann opened this issue Sep 16, 2017 · 4 comments
Open

Cant run #2

JPRuehmann opened this issue Sep 16, 2017 · 4 comments

Comments

@JPRuehmann
Copy link

Hello

I get the following error.

ImportError: No module named 'xdg.BaseDirectory'; 'xdg' is not a package

Modules are installed

Requirement already satisfied: xdg in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: requests in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: lxml in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: mpv in /usr/local/lib/python3.5/dist-packages
@chronitis
Copy link
Owner

I think this is due to confusion over the xdg namespace; the relevant package in this case is pyxdg==0.25, which should be correctly specified in setup.py.

@gnoirzox
Copy link

You certainly need to do pip3 install pyxdg

@ohsevin
Copy link

ohsevin commented Jul 18, 2019

sudo apt purge python3-xdg python-xdg -y
sudo -H pip3 install pyxdg
sudo -H pip install pyxdg

this fixed this issue for me

@sashagra
Copy link

sashagra commented Apr 3, 2021

i can't fix it.

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

5 participants