[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

compiling python question

Mag Gam

2/24/2010 2:00:00 AM

I am trying to compile python with Tk bindings. Do I need to do
anything special for python to detect and enable Tk?

This is mainly for matplotlib's TkAgg. It seems my compiled version of
python isn't finding the module _tkagg
3 Answers

Diez B. Roggisch

2/24/2010 9:50:00 PM

0

Am 24.02.10 03:00, schrieb Mag Gam:
> I am trying to compile python with Tk bindings. Do I need to do
> anything special for python to detect and enable Tk?

What OS? What does the configure/build process say?

Diez

Mag Gam

2/25/2010 12:55:00 AM

0

sorry for the vague answer.

Its Linux.

The configure build does not say anything actually. This is for SAGE.
I managed to have it pick it up by compiling/installing tcl and tk and
then recompile python


On Wed, Feb 24, 2010 at 4:50 PM, Diez B. Roggisch <deets@nospam.web.de> wrote:
> Am 24.02.10 03:00, schrieb Mag Gam:
>>
>> I am trying to compile python with Tk bindings. Do I need to do
>> anything special for python to detect and enable Tk?
>
> What OS? What does the configure/build process say?
>
> Diez
> --
> http://mail.python.org/mailman/listinfo/p...
>

Diez B. Roggisch

2/25/2010 10:29:00 PM

0

Am 25.02.10 01:55, schrieb Mag Gam:
> sorry for the vague answer.
>
> Its Linux.
>
> The configure build does not say anything actually. This is for SAGE.
> I managed to have it pick it up by compiling/installing tcl and tk and
> then recompile python

Then most probably installing the tk-dev packages would have been
sufficient.

diez