Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printool doesn't work with python2.2 on Rehat7.1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
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.
With the help of ifincham I also tried to install the following rpms :

pygtk
pygnome
pygtk-libglade

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


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top