Fedora Core 1 Linux and Python/Tk


T

Thomas

Python/Tk (Tkinter) does not work under Fedora Core 1; the problem
seems to be, that the Python RPM package uses a Python which was
compiled with the UCS4 option, whereas Tcl/Tk uses UCS2.

My solution: I got the Python 2.2 (FC1 uses Python 2.2) and Tkinter
RPM packages from python.org and updated Python and Tkinter with
those packages (rpm -U ...). (Luckily, the version numbers of the
python.org RPMs are higher than those from the FC1 distribution.)

(I submitted a bug report to the FC1 team (Bugzilla).)

Has someone another solution?

(I do not want to install a separate Python 2.3; e.g. bindings for
libxml2/libxslt are not available as RPM Packages for Python 2.3,
problems with Tkinter where reported etc. etc. IMHO, Python develops
too fast at the moment.)

Remark: Actually, I think it is quite bad that the 'tkinter' RPM
package is 'hidden' on CD #3 of the FC1 distribution (and depends
on some other packages ('itcl', 'tix'), too, which are not installed
by default. Whenever Python gets installed on a system, I would
expect that Tkinter is available on that system, too (as long as
Tk is the de facto GUI standard for Python).
 
Ad

Advertisements

R

Rob Renaud

Whenever Python gets installed on a system, I would
expect that Tkinter is available on that system, too (as long as
Tk is the de facto GUI standard for Python).

As a Python Programmer, I agree.

As someone who might want to run a server with Python but without X, I
disagree.

.... and as someone who would rather support a real community
distrobution like Debian, I am indifferent.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top