discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Discuss-gnuradio] Missing critical module: "pygtk"


From: JackyYang
Subject: RE: [Discuss-gnuradio] Missing critical module: "pygtk"
Date: Wed, 23 Jan 2008 23:27:58 +0800

Hi:

I have try type command "updated && locate pygtk.py".
So, I get the result: 

$ locate pygtk.py
/cygdrive/c/$RECYCLE.BIN/S-1-5-21-1473618752-1584729294-3736591951-1003/$RGJ
BMMY.0/pygtk.py

Now, problem is: I don't know how to find "python", and how to add its path
to the pythonpath?
But, I guess "/lib/python2.5" look like you say.
If it is, how can I do?

At this webpage http://www.gnuradio.org/trac/wiki/CygwinInstallMain
He tell me do type command: export
PYTHONPATH=/usr/local/lib/python2.5/site-packages
It like you tell me method.
But, I try already. It not use.

Anyway, thank you very much.

-JackyYang Taiwan

-----Original Message-----
From: Josh Blum [mailto:address@hidden 
Sent: Wednesday, January 23, 2008 1:30 AM
To: JackyYang
Cc: address@hidden
Subject: Re: [Discuss-gnuradio] Missing critical module: "pygtk"

It is probably installed, just missing in python path.

If you have slocate installed
 >>>updatedb
 >>>locate pygtk.py
or if not
 >>>find / -name pygtk.py -print

Once, pygtk.py is found, you have to add its path to the pythonpath:
/var/lib/python-support/python2.5 is the path on my pc, I dont know 
about cygwin
 >>>export PYTHONPATH=/var/lib/python-support/python2.5

See if the next command gives an error
 >>>python -c "import pygtk"

-Josh

JackyYang wrote:
> Yes, you are right.
> I gat message: 
> 
> "ImportError : No module named pygtk"
> 
> What I can do now?
> I am sure I had select "pygtk2 2.6.3-1" in the Cygwin packages. Have
another
> way to install pygtk when use Cygwin?
> 
> Thank your answer.
> 
> -----Original Message-----
> From: Josh Blum [mailto:address@hidden 
> Sent: Tuesday, January 22, 2008 11:32 PM
> To: JackyYang
> Cc: address@hidden
> Subject: Re: [Discuss-gnuradio] Missing critical module: "pygtk"
> 
> Open a python interpreter shell by typing "python" in the command line. 
> Type "import pygtk" and press enter. What is the error message?
> 
> Its possible that gtk is not installed.
> 
> -Josh
> 
> JackyYang wrote:
>> Hi:
>>
>>  
>>
>> When I try to execute "Editor.py". Gives the error message:
>>
>>  
>>
>> Missing critical module: "pygtk"
>>
>> Exiting!
>>
>>  
>>
>> I search old discuss, but that is not much with me.
>>
>> My system stats :
>>
>> Windows + cygwin
>>
>> GnuRadio 3.1.1
>>
>> GRC 0.69
>>
>>  
>>
>> I am sure the "pygtk2 2.6.3-1" installed.
>>
>>  
>>
>> Thanks.
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]