Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
virt-manager ModuleNotFoundError: gi sice python 3.10
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Lloydz
n00b
n00b


Joined: 31 Aug 2019
Posts: 38
Location: Germany

PostPosted: Sun Jul 03, 2022 8:33 pm    Post subject: virt-manager ModuleNotFoundError: gi sice python 3.10 Reply with quote

Hi, since upgrade python version 3.9 to 3.10 , which one comes automaticly sice the 1. july, libvirt virt-manager GTK-GUI don't start anymore:

Quote:
$ virt-manager
Traceback (most recent call last):
File "/usr/bin/virt-manager", line 6, in <module>
from virtManager import virtmanager
File "/usr/share/virt-manager/virtManager/virtmanager.py", line 15, in <module>
import gi
ModuleNotFoundError: No module named 'gi'
$

I have already recompiled all python packages in addition to the libvirt packages. The update process was done as described here:
https://www.gentoo.org/support/news-items/2022-06-13-python3-10.html
or ran automatically

Any idea? Thank you
Back to top
View user's profile Send private message
Lloydz
n00b
n00b


Joined: 31 Aug 2019
Posts: 38
Location: Germany

PostPosted: Sun Jul 03, 2022 9:21 pm    Post subject: Reply with quote

Now it work's :idea:

Code:
sudo emerge --ask --depclean dev-lang/python -v

gave me a list with the packages, which are still dependent on python-3.9:

[...]
dev-lang/python-3.9.13 pulled in by:
sys-libs/compiler-rt-11.1.0 requires >=dev-lang/python-3.9.9-r1:3.9
sys-libs/compiler-rt-sanitizers-11.1.0-r1 requires >=dev-lang/python-3.9.9-r1:3.9
[...]

After I recompile these packages it works. Thank you and bye :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum