ImportError: No module named pygtk

Hello, I installed python-2.7.3, because I wanted to use the Idle, to
create scripts, the “python” command it wasn’t enough, when I typed
idle, it gave me an error:

** IDLE can’t import Tkinter. Your Python may not be configured for Tk.
**

So that’s why I decided to install that new version of Python, when I
finished the instalation, I could run idle.
But the new problem was that I couldn’t run gnuradio-companion, It was
working very well till then. I always had to do:

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages

I don’t know if the new installation caused the error of the GRC, now
when I do: “export PYTHONPATH=$PYTHON…”
and then type $ gnuradio-companion, gave me this error:

Traceback (most recent call last):
File “/usr/local/bin/gnuradio-companion”, line 21, in
import pygtk
ImportError: No module named pygtk

I try everything, and moving file “pygtk.py”, “gtk.py” that I’ve found
on ‘/usr/lib/python2.7/site-packages/’
Help!!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs