IDLE: Your Python may not be configured for Tk

Asked

Viewed 229 times

3

I’m trying to use Python in Slackware, in Ubuntu I know how it is, but in Slackware I couldn’t.

When I type in the terminal idle to open Python, the following message is displayed:

Your Python may not be configured for Tk

How can I solve this problem?

  • What happens? what’s wrong?

  • says my python is not set to Tk

  • What version of Python? and what message is displayed when trying to use tk?

  • the python version is 2.7.5 . When I put in the end Idle to open python exit msg q python is not configured for Tk.. I have not tried to use Tk

  • 1

    If you can edit the question and put the error messages that appears, this can help in solving the problem. See if you have this package installed: http://packages.slackware.com/? r=Slackware-current&p=python-setuptools-22.0.5-i586-1.txz

  • People managed to open the python Idle in Slackware. I typed in the terminal 'sudo slapt-get --install Tk', without the quotes, and installed Tk. Now I can use python’s Idle

Show 1 more comment

1 answer

1

According to the AP, the problem was solved by installing the tk:

sudo slapt-get --install tk

Browser other questions tagged

You are not signed in. Login or sign up in order to post.