<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [Tkinter-discuss] How to configure the non-default Pythonversion to work with tk</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Thanks guys!<BR>
<BR>
Actually, I managed to fix it by installing tcl and tk dev versions and then reinstalling python2.5.<BR>
<BR>
I'm so relieved!!!<BR>
<BR>
Best regards,<BR>
Noelia<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: tkinter-discuss-bounces+noses=fatronik.com@python.org on behalf of Tim Jones<BR>
Sent: Wed 2/17/2010 17:12<BR>
To: tkinter-discuss@python.org<BR>
Subject: Re: [Tkinter-discuss] How to configure the non-default Pythonversion to work with tk<BR>
<BR>
On Feb 17, 2010, at 8:41 AM, Noelia Oses wrote:<BR>
<BR>
&gt; Hi all,<BR>
&gt;<BR>
&gt; I have a very newby question.<BR>
&gt; I'm using a computer with Ubuntu Karmic Koala.<BR>
&gt; The Ubuntu has python 2.6 installed by default, and this default installation includes tkinter.<BR>
&gt;<BR>
&gt; However, I'm using a platform (NuPIC) that needs Python 2.5. This I had to install manually in /usr/local.<BR>
&gt; Unfortunately, the manually installed version that I need doesn't seem to be able to find the tkinter libraries.<BR>
&gt;<BR>
&gt; I have tried with &quot;sudo apt-get install python2.5-tk&quot; but it doesn't install it as it notices there is a newer version already.<BR>
<BR>
Unfortunately, I suspect that your only option will be to physically build your own Python / TKInter pair from sources, specifying the --prefix=/usr/local argument to config if you want to keep the default 2.6 version installed.&nbsp; The versions in the apt repositories all expect you to want the latest version or to be able to remove a newer version in deference to the older version.&nbsp; The odd thing is, you should be able to have multiple versions of Python installed without conflict, so it appears that the package makers didn't take that into account.<BR>
<BR>
HTH,<BR>
Tim<BR>
<BR>
_______________________________________________<BR>
Tkinter-discuss mailing list<BR>
Tkinter-discuss@python.org<BR>
<A HREF="http://mail.python.org/mailman/listinfo/tkinter-discuss">http://mail.python.org/mailman/listinfo/tkinter-discuss</A><BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>