Closed vasiliy0s closed 3 years ago
Try to install python3-gi package manually:
sudo apt-get install python3-gi
sudo apt-get install python3-gi
I was tried it as the first step after some googling:
➜ ~ sudo apt-get install python3-gi
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-gi is already the newest version (3.36.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
But I'm not sure it can help me, because my Python 3.9.0 was build from sources.
Probably you have to build python3-gi from sources for python 3.9.0 or just copy (dirty hack) it from 3.36.0 (from /usr/lib/python3/dist-packages/gi) to your 3.9.0 python library path.
Ok, got it. I'll back when I'll try it tomorrow. Thanks
... one more variant: just run indicator in Python 3.36.0 (if it still available in your OS).
Hi @slytomcat,
Here is the trick helped me:
pip install pygobject
(pip
in my setup is from virtualenv from the Python3.9.0 build)
Also, I rebuilt Python previously with enabled sqlite ./configure --enable-loadable-sqlite-extensions --enable-optimizations
.
So, this issue can be closed now since the indicator is working fine now
Ok, it seems that pip install pygobject
is the solution for necessary python environment for indicator when Python was build from sources.
Probably it worth to add it to FAQ.
Hello,
I cannot start the indicator because of the next issue:
System info:
* Python was built from the sources because I need this specific version.
My OS is x64, btw)