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:[EMAIL PROTECTED] Sent: Tuesday, January 22, 2008 11:32 PM
To: JackyYang
Cc: [email protected]
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
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio




_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to