Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compiling python question

0 views
Skip to first unread message

Mag Gam

unread,
Feb 23, 2010, 9:00:18 PM2/23/10
to pytho...@python.org
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

Diez B. Roggisch

unread,
Feb 24, 2010, 4:50:04 PM2/24/10
to
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

unread,
Feb 24, 2010, 7:55:25 PM2/24/10
to Diez B. Roggisch, pytho...@python.org
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

> --
> http://mail.python.org/mailman/listinfo/python-list
>

Diez B. Roggisch

unread,
Feb 25, 2010, 5:28:32 PM2/25/10
to
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

0 new messages