Q:

xdg.BaseDirectory import error

I tried to install Screenlets on my system using help from this link (Screenlets not working in Ubuntu 16.04 ( Just Need analogue clock widget)). After following all the given steps I tried to run it using the command screenlets & which returned an import error ImportError: No module named xdg.BaseDirectory. I've attached a screenshot of my terminal for greater clarity. Please help me out to resolve this error.
This is the screenshot of the terminal
Thanks in advance :)

A:

pip install pyxdg works for me.

