← Back to team overview

gtg-user team mailing list archive

Re: Error while launching GTG

 

Please refer this -
http://askubuntu.com/questions/159074/why-can-python3-not-import-gi-repository


On Mon, Feb 3, 2014 at 11:16 PM, Atit Anand <atit.anand.cs@xxxxxxxxx> wrote:

> Heya there,
>
> After running "python3 ./gtg" i got this error :
>  " The program 'python3' is currently not installed.  You can install it
> by typing:
> sudo apt-get install python3-minimal"
> I did install python3-minimal after running the command.
> "whereis python3" command now gives this result :location<http://paste.ubuntu.com/6868355/>
>
> After again running this command "python3 ./gtg" i get following error:
> " File "./gtg", line 27, in <module>
>     from gi.repository.Gdk import Screen
> ImportError: No module named gi.repository.Gdk"
>
>
>
>
> On Mon, Feb 3, 2014 at 11:06 PM, Parin Porecha <parinporecha@xxxxxxxxx>wrote:
>
>> Hi,
>>
>> Nice to see you taking interest in GTG !
>>
>> I saw your question in #gtg,
>>
>> can you please tell me the output of "which python3" and "/usr/bin/env
>> python3" ?
>>
>> you said that you have python3 installed in /usr/lib, they are python
>> packages.
>> You're getting the '/usr/bin/env python3' error because the python
>> executable is not in your $PATH variable most probably.
>>
>> Running "python ./gtg" is giving that error because the default python
>> executable on your computer is python2, and GTG is in python3
>> Please run "python3 ./gtg" instead.
>>
>>
>> On Mon, Feb 3, 2014 at 10:40 PM, Atit Anand <atit.anand.cs@xxxxxxxxx>wrote:
>>
>>> Heya everyone,
>>>
>>> I have using gtg for quite sometime now and have made up of mind to
>>> contribute to this project in any possible way.
>>>  I followed everything written on this contribution page of gtg<https://wiki.gnome.org/Apps/gtg/contributing>but when i launch gtg by typing "./gtg" it give me following error :
>>>
>>> "/usr/bin/env: python3: No such file or directory"
>>>
>>> And when I try to run gtg using this command "python gtg" I get
>>> following error:
>>>
>>> Error <http://paste.ubuntu.com/6868170/>
>>>
>>> Any help will be really appreciated.
>>>
>>> Thanks & Regards,
>>> Atit Anand
>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~gtg-user
>>> Post to     : gtg-user@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~gtg-user
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Regards,
>> Parin Porecha
>>
>
>


-- 
Regards,
Parin Porecha

Follow ups

References