Thank you Malcolm !
Doing like you said I found that my pygtk were installed at
/usr/local/lib/python-2.0/site-packages
^^^^^
and my python were looking for it at
/usr/lib/python-2.0/site-packages
Using python -v -v I could find the properly path !
Thank you once more !
-----Mensagem original-----
De: Malcolm Tredinnick [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 5 de fevereiro de 2004 22:51
Para: '[EMAIL PROTECTED]'
Assunto: Re: [pygtk] Qinstall on RedHat 8 box
On Fri, 2004-02-06 at 06:45, Bruno Di Rei Araujo wrote:
> Hi,
>
> I'm a newbie on qmail and also python, but I want to setup by my own a
> e-mail server. I'm trying to install using QInstall with the -gui option,
> but I didn't works for me. I think that something may be missing. When
ran,
> it prints:
>
>
>
> Qinstall, Qmail Installer
> Baris Metin <[EMAIL PROTECTED]>
>
> http://obua.org
>
> Traceback (most recent call last):
> File "qinstallgui.py", line 2, in ?
> import pygtk
> ImportError: No module named pygtk
It looks like you have all the right rpms installed, so try this
experiment: run Python from the command line and then type "import
pygtk". If that works, then qinstallgui.py is doing something strange
and you will need to debug that (for example, it might be forcibly
breaking the sys.path list or something).
If importing pygtk from the command line does not work, you need to try
and work out why your installation of pygtk2 is not working. Try running
'python -v' and then the same test as above ('import pygtk'). See if the
import is coming from where pygtk2 has installed the packages, etc.
It is difficult to provide more information, since everything should be
just working. You are going to need to try to narrow down the problem a
bit more.
Cheers,
Malcolm
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/