PDA

View Full Version : nicotine can not find pygtk


ilbh
26th November 2006, 02:32 PM
hi
when i try to run nicotine, it says that:

[ilan@xxx ~]$ nicotine
Nicotine supports "psyco", an inline optimizer for python
code, you can get it at http://sourceforge.net/projects/psyco/
Can not find required PyGTK. The current search path is
['/usr/local/bin', '/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', '/usr/local/lib/python2.5/plat-linux2', '/usr/local/lib/python2.5/lib-tk', '/usr/local/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages']
[ilan@xxx~]$

and when i do rpm -qa for pygtk, it says i have all installed...
[ilan@xxx ~]$ rpm -qa | grep pygtk
pygtk2-2.10.3-2.fc6
pygtk2-codegen-2.10.3-2.fc6
pygtk2-devel-2.10.3-2.fc6
pygtk2-libglade-2.10.3-2.fc6
[ilan@xxx ~]$

what do i suppose to do??
how can i change the search path for pygtk ?

ilbh
27th November 2006, 04:37 AM
for gods sakes no one can help ????

Dies
27th November 2006, 08:18 AM

I don't think very many people use this program, not a popular app but I could be wrong.
So yeah help isn't going to come pouring in.

Anyways it seems to me that you must have installed this app from source or some generic rpm, and since their website isn't very helpful I guess you have two choices either install whats it's asking you for from source which probably isn't a great idea or figure out which file to provide a symlink to.
Running a locate pygtk turns up a lot of info. /usr/include looks promising

If you installed this from an rpm post the link and I'll try it out to see if it works for me or if I can get it to work but if you installed from source then nevermind.

r1348
27th November 2006, 08:51 AM
Did you install python 2.5 by any chance? Looks like you messed up with your python environment variables, pygtk is located in /usr/lib/pygtk anyway.
I use Nicotine+ on a standard FC6 installation with no problems.

chocobanana
28th November 2006, 12:43 AM
hi

r1348: from where did you install nicotine (from rpm? :D)

r1348
29th November 2006, 12:51 AM
Didn't install it from any rpm, just grab the sources from http://www.nicotine-plus.org, extract them somewhere and run the "nicotine" script. Yeah, python programs can run from source...

ilbh
29th November 2006, 03:04 AM
it was from source the problem
and it was solved with rpm...
i think its libraries that i didnt linked the right way when i ommited parammeters on the configure command.

but the fact is it is running perfectly with the rpm...
but sure i did install all depencies rpm before