curseradio
curseradio copied to clipboard
Cant run
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
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.
You certainly need to do pip3 install pyxdg
sudo apt purge python3-xdg python-xdg -y
sudo -H pip3 install pyxdg
sudo -H pip install pyxdg
this fixed this issue for me
i can't fix it.