gnome-music will not start, behold: gene@go:~# gnome-music Traceback (most recent call last): File "/usr/bin/gnome-music", line 16, in <module> import gi File "/usr/lib64/python3.5/site-packages/gi/__init__.py", line 42, in <module> from . import _gi ImportError: cannot import name '_gi' But there is a solution in bugzilla https://bugs.gentoo.org/show_bug.cgi?id=509866. This however is from a few years back. The solution was to change this: #!/usr/bin/env python3 to this: #!/usr/bin/env python3.5
commit d0a442be5a2f7851c768527571360ccaf453be37 Author: Mart Raudsepp <leio@gentoo.org> Date: Thu Mar 23 18:40:54 2017 +0200 media-sound/gnome-music: fix python and introspection deps handling Convert from python-r1 to python-single-r1 while we don't have any gnome-music module consumers than gnome-music itself, to not have useless site-packages of these. Upstream has a hardcoded to python3 shebang, so force it to what python-single-r1 ended up choosing. Remove ugly upstream 3.4 site-packages path inserts that would potentially defeat our whole purpose of choosing 3.5 or 3.6 over 3.4 as python provider. Gentoo-bug: 612380 Thanks-to: Mike Gilbert <floppym@gentoo.org> media-sound/gnome-music/gnome-music-3.22.2-r1.ebuild | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ profiles/base/package.use | 4 ++++ 2 files changed, 67 insertions(+)