Is anyone using the whatlastfm plugin?


I cannot get it to work. I do have the standalone app working, but it requires python 2.7.
When I try to use it as a plugin, it chokes with an error that seems due to beets trying to run under python 3:

** error loading plugin wlg:
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/beets/”, line 254, in load_plugins
namespace = import(modname, None, None)
File “/home/stefano/builds/from-upstream-sources/whatlastgenre/plugin/beets/beetsplug/”, line 28, in
from wlg import whatlastgenre
File “/home/stefano/builds/from-upstream-sources/whatlastgenre/wlg/”, line 25, in
import ConfigParser
ModuleNotFoundError: No module named ‘ConfigParser’

Is there any way to run a plugin under python 2?


Hmm… beets runs entirely on Python 3 or entirely on Python 2, including all plugins. They can’t mix. Perhaps that plugin is just out of date?


Ah, I had not noticed that beets is python version agnostic.
I managed to get everything running again by completely removing it and reinstalling as a python2 package (I am running Archlinux).

Thanks for the help