Hi Francesco,

On Sat, 29 Mar 2025 13:08:08 +0000, Francesco wrote:
> [ ... snip ... ]
> I noticed that, after installing python3-matplotlib, running a "import gi"
> results in a "print(gi.__file__)" printing None.
> If I manually install python3-gi as well, then "print(gi.__file__)" will print
> the expected path of the system installation of python3-gi.
> [ ... snip ... ]

Could you check whether any other packages (not python3-gi) had
installed files into: /usr/lib/python3/dist-packages/gi/

If so, I think that might cause the symptoms encountered here (python3
would allow gi to import as a module, but it would not contain the
python3-gi code that the matplotlib library requires)

Regards,
James

Reply via email to