Page MenuHomePureOS Tracker

python3 has no module name gi
Closed, ResolvedPublic


If there is file,, which may be seen at

then the command "python" and also the command virt-manager
produce the error message.
" import gi
ModuleNotFoundError: No module named 'gi'"

On the other hand, "python2.7" executes as expected.

This seems to be a bug in how python3 is installed on my machine which runs
straight PureOS based upon the green repository, with the LXQt desktop.

The packages python-gi and python3-gi are both installed.

F/U: The problem disappeared with a fresh install. I may have at one time installed a version of python-3.7.3 which apt install --reinstall did not replace. That version responded "python-3.7.3" to python3 --version, whereas the PureOS version responds

Event Timeline

emmes created this task.May 17 2019, 01:45
EchedeyLR added a project: Restricted Project.May 17 2019, 06:22
EchedeyLR added a subscriber: EchedeyLR.
emmes updated the task description. (Show Details)May 20 2019, 05:29
jeremiah.foster closed this task as Resolved.Aug 8 2019, 12:13