when trying to install the BPM analyzer plugin for the flatpak build of Picard I get the following error:
An error occured while loading the plugin 'bpm':
Plugin 'bpm' : Traceback (most recent call last):
File "/app/lib/python3.7/site-packages/picard/pluginmanager.py", line 258, in _load_plugin_from_directory
plugin_module = zip_importer.load_module(full_module_name)
File "/home/userxyz/.var/app/org.musicbrainz.Picard/config/MusicBrainz/Picard/plugins/bpm.zip/bpm/__init__.py", line 20, in <module>
from aubio import source, tempo
ModuleNotFoundError: No module named 'aubio'
When installing Picard via the system package manager, the error can be fixed by installing the python-aubio package or by installing aubio via pip install system-wide.
Due to the nature of flatpak, this fix doesn't work.
I found a blog post online about the possibility to embed python packages in flatpak apps: Link
Is this feasible for Picard?