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.
Is that a python2 or python3 program. They import gi differently. Or if you are trying to run a python2 script with python3 you will get that error right off the bat. Can you look at the source.
Is that a python2 or python3 program. They import gi differently. Or if you are trying to run a python2 script with python3 you will get that error right off the bat. Can you look at the source.
that happens because /usr/share/gameconqueror/GameConqueror.py points to the wrong python interpreter (python2): just edit the first line of that file so that it reads
here it is may 2023 and this same issue persists as I just installed variety and it still shows that error.
Code:
$ variety
Traceback (most recent call last):
File "/usr/bin/variety", line 38, in <module>
import variety
File "/usr/lib64/python2.7/site-packages/variety/__init__.py", line 106, in <module>
import gi
ImportError: No module named gi
The maintainer doesn't look to be active anymore and a python3-variety slackbuild should be created to replace it and this one removed, preferably by someone who uses it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.