Python3.6: ModuleNotFoundError: No module named 'gi'

Booting, installing, newbie
Post Reply
Message
Author
PLPL
Posts: 10
Joined: Sun 03 May 2020, 13:20

Python3.6: ModuleNotFoundError: No module named 'gi'

#1 Post by PLPL »

I installed python 3.6 on ppm (BionicPup64). And I am trying to run a program from the terminal and every time I try to run it it appears:

ModuleNotFoundError: No module named 'gi'

How to install this module that was missing in python 3.6?

NOTE: The program is already recognizing python 3.6!

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#2 Post by OscarTalks »

Try installing python3-gi via PPM
Oscar in England
Image

PLPL
Posts: 10
Joined: Sun 03 May 2020, 13:20

#3 Post by PLPL »

OscarTalks wrote:Try installing python3-gi via PPM
Now this is showing:

Error: Namespace Gdk not available for version 3.0

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#4 Post by 666philb »

i'm in a different puppy but probably gir1.2-gtk-3 ... just type gir into the findbox of the ppm and grab the gtk3 one
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

PLPL
Posts: 10
Joined: Sun 03 May 2020, 13:20

#5 Post by PLPL »

666philb wrote:i'm in a different puppy but probably gir1.2-gtk-3 ... just type gir into the findbox of the ppm and grab the gtk3 one
AttributeError: module 'gi' has no attribute 'require_version' :(

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#6 Post by bigpup »

What is the program you are trying to run?

If you installed it.
Exactly how did you do it?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

PLPL
Posts: 10
Joined: Sun 03 May 2020, 13:20

#7 Post by PLPL »

bigpup wrote:What is the program you are trying to run?

If you installed it.
Exactly how did you do it?
What is the program you are trying to run?
R: Dropbox (.deb)

Exactly how did you do it?
R: I downloaded python 3.6 for ppm (The dropbox needs this version to run) I typed "python 3.6" for the programs to start recognizing the new python. And I simply tried to run it, but it didn't open graphically, I found that opening it from the terminal it said that it was necessary to install the dropbox daemon by running "dropbox start -i" on the terminal. But when I ran it gave this error "ModuleNotFoundError: No module named 'gi'" I installed this module by ppm and now, after being installed, it is giving this error: "AttributeError: module 'gi' has no attribute 'require_version'". I don't know what else to do!

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#8 Post by bigpup »

PLPL,

Edit the subject of the first post. You have control of it.
It is used as the title of this topic.
Add Dropbox to it, so someone that is using Dropbox, will see it.
They should be able to help you.

It may be nothing more than using a different deb package to install Dropbox or a package made specifically for Puppy Linux.

Also, if it is a 32bit version of Dropbox.
You need to have the 32bit compatibility sfs loaded, so Bionicpup64 8.0 can run 32bit software.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply