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: Josh Blum
Subject: Re: [Discuss-gnuradio] Missing critical module: "pygtk"
Date: Wed, 23 Jan 2008 15:54:55 -0500
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

JackyYang wrote:
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

I dont think pygtk is supposed to be located in the windows recycle bin.


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?


Very important that the directory containing pygtk is also found in the python path. Does that directory "/lib/python2.5" contain pygtk? From the result above, I seriously believe that pygtk is not installed. You can try downloading pygtk source and installing it: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/

Has anyone else used GRC + cygwin? Did you install pygtk through the cygwin package manager (setup.exe?) or was it a source install?

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]