[SOLVED] Installed guefi, it fails to run, 'No module named gi' load error.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installed guefi, it fails to run, 'No module named gi' load error.
I'm a compelte noob when it comes to anything python.
I wanted to try and use efibootmgr with a gui, and found the guefi package on SBo. Installed without any problems.
For the record, this is Slackware 15.0 64 bit fully updated.
I checked the pre-req's and I seem to have the requirements, as stated on the github page. They are:
Code:
A GNU/Linux PC running a UEFI firmware
Python >= 3.9
GTK+3 >= 3.24.x
efibootmgr 17
I did some duckduckgoing, and come across lots of things to try, so many I don't know where to start. The advise seems to vary from distro to distro.
Could some one give me some advice on what makes sense on Python on Slackware 15.0 please? I don't want to just try anything I find that amy have worked on another distro.
This is the output I get on Slackware.
Code:
root@duelie:~# guefi
Traceback (most recent call last):
File "/usr/sbin/guefi", line 6, in <module>
import gi
ImportError: No module named gi
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 451
Rep:
It looks like version 0.1.3 is incompatible, but 0.2.0 just came out a few days ago, and it seems to work.
The upgraded package is already in the SBo ready queue, but if you don't want to wait, you could also sed all the 0.1.3 to 0.2.0, download the tarball and install that way.
Thank-you for your input. The sed command worked. I was able to build version 0.2.0 and have upgraded the installed package.
So, my reported problem is solved.
Now, for more fun, I have 3 HD's in my system. If I run guefi on sda, it works. If I run it on my nvme drive, it starts up, and reports my efi partition is not mounted, and aborts. I will have to open another thread, and see if there is some way to run this gui front end on a multi drive system.
I did look at the help for efibootmgr, and saw the default is sda. I suspect there needs to be a way to tell guefi on start up to run on another disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.