WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] PyGObject, PyGTK not syncing with python programs  (Read 3304 times)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 405
[Solved] PyGObject, PyGTK not syncing with python programs
« on: July 18, 2020, 08:21:37 AM »
Hi !

I have downloaded the tczs of pygobject, pygobject2 and pygtk but they are not linking with kazam. It shows the following error :
Code: [Select]
Traceback (most recent call last):
  File "/usr/local/bin/kazam", line 32, in <module>
    from gi.repository import Gtk
ModuleNotFoundError: No module named 'gi'
.

Any idea what to do ?
« Last Edit: July 19, 2020, 07:24:26 AM by Rich »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 405
Re: PyGObject, PyGTK not syncing with python programs
« Reply #1 on: July 18, 2020, 10:38:07 PM »
Hi !

I want fixes. Please can anyone help ?

aus9

  • Guest
Re: PyGObject, PyGTK not syncing with python programs
« Reply #2 on: July 19, 2020, 12:19:14 AM »
Hi

you mention kazam which AFAIK is not in TC64 but recordmydesktop seems to work if interested.

native output is ogv

playbackable in vlc or qmplay2 but I did not test sound input

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 405
Re: PyGObject, PyGTK not syncing with python programs
« Reply #3 on: July 19, 2020, 12:41:30 AM »
Hi aus9,

Oh ok. Then I will try to compile and submit its gtk front-end. Thanks for the info.

@Rich I think this can be marked as closed.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: PyGObject, PyGTK not syncing with python programs
« Reply #4 on: July 19, 2020, 12:44:49 AM »
I have downloaded the tczs of pygobject, pygobject2 and pygtk but they are not linking with kazam. It shows the following error :
Code: [Select]
Traceback (most recent call last):
  File "/usr/local/bin/kazam", line 32, in <module>
    from gi.repository import Gtk
ModuleNotFoundError: No module named 'gi'
.

Often the above means you're missing py3.6gobject and gtk3-gir.

aus9

  • Guest
Re: PyGObject, PyGTK not syncing with python programs
« Reply #5 on: July 19, 2020, 01:00:59 AM »
hI

I have seen Juanito's excellent reply.

Quote
I will try to compile and submit its gtk front-end

before you go to that time and effort....what are you hoping to record?

a web search for linux record software shows variants that can stream webcam, which vlc can already do
but like most things....the quality of the video will impact on its size.

does your cast need to be able to display on screen text or other such things?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 405
Re: PyGObject, PyGTK not syncing with python programs
« Reply #6 on: July 19, 2020, 05:26:00 AM »
Hi,

Juanito, your suggestion worked  :D . I actually loaded pygobject (python2) and was hoping to see it in pip3 list (python3). My bad.

aus9, I want a screen recorder that is full featured like kazam. It has all the features I need. It is able to record an area of the screen, only one window, multiple windows and is also able to use pulseaudio for sound.

@Rich This can be marked as solved  ;) .

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11701
Re: [Solved] PyGObject, PyGTK not syncing with python programs
« Reply #7 on: July 19, 2020, 07:25:46 AM »
Hi Sashank999
... @Rich This can be marked as solved  ;) .
Done. :)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 405
Re: [Solved] PyGObject, PyGTK not syncing with python programs
« Reply #8 on: July 19, 2020, 09:07:51 AM »
Hi Rich,

Thank You.