curseradio icon indicating copy to clipboard operation
curseradio copied to clipboard

Cant run

Open JPRuehmann opened this issue 8 years ago • 4 comments
trafficstars

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

JPRuehmann avatar Sep 16 '17 00:09 JPRuehmann

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.

chronitis avatar Oct 09 '17 20:10 chronitis

You certainly need to do pip3 install pyxdg

gnoirzox avatar May 27 '18 16:05 gnoirzox

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

this fixed this issue for me

ohsevin avatar Jul 18 '19 17:07 ohsevin

i can't fix it.

sashagra avatar Apr 03 '21 19:04 sashagra