Alainovitch
Programmer
I have installed RH 7.1 then python 2.2 (Rebuilt from the SRPM on python site)
but some problems occured when executing printool :
cannot import gtk, gnome.ui, libglade.
Then i installed tkinter but nothing more, it is still impossible to import gtk, ...
I tried with python 1.5 and everthing works correctly.
Is there any problems between python 2.2 and printtool ??
Naturally i really need python 2.2 ...
What should i add to the python 2.2 installation for printtol to works correctly
The sys.path was OK then.
I have downloaded pygtk (pygtk-0.6.8-3.i386.rpm), pygnome (pygnome-1.4.1-3.i386.rpm), and pygtk-libglade (pygtk-libglade-0.6.6-7.i386.rpm) then i uninstalled python1.5, 2.2 and everything related to them.
I reinstalled only python 2.2 (python2-2.2-2.src.rpm), tkinter (python2-tkinter-2.2-2.i386.rpm) then i installed the pytgk, pygnome, pygtk-libglade and during the installation a directory lib/python1.5 was created and gtk, gnome ...etc were installed in it (obviously i had exectly the same behavior with import gtk since i launched python2.2 which point on python2.2 directory).
I presumed the versions i downloaded are python1.5 compatible but i can figure out where to find pygtk, pygnome, and pygtk-libglade for python2.2.
Once again thank you
but some problems occured when executing printool :
cannot import gtk, gnome.ui, libglade.
Then i installed tkinter but nothing more, it is still impossible to import gtk, ...
I tried with python 1.5 and everthing works correctly.
Is there any problems between python 2.2 and printtool ??
Naturally i really need python 2.2 ...
What should i add to the python 2.2 installation for printtol to works correctly
The sys.path was OK then.
I have downloaded pygtk (pygtk-0.6.8-3.i386.rpm), pygnome (pygnome-1.4.1-3.i386.rpm), and pygtk-libglade (pygtk-libglade-0.6.6-7.i386.rpm) then i uninstalled python1.5, 2.2 and everything related to them.
I reinstalled only python 2.2 (python2-2.2-2.src.rpm), tkinter (python2-tkinter-2.2-2.i386.rpm) then i installed the pytgk, pygnome, pygtk-libglade and during the installation a directory lib/python1.5 was created and gtk, gnome ...etc were installed in it (obviously i had exectly the same behavior with import gtk since i launched python2.2 which point on python2.2 directory).
I presumed the versions i downloaded are python1.5 compatible but i can figure out where to find pygtk, pygnome, and pygtk-libglade for python2.2.
Once again thank you