0

The default python version on my gentoo is python2, and the default python installed on gentoo has no Tkinter support. After I added the following line to /etc/portage/package.use

dev-lang/python tk

then emerge python, it only shows: [ebuild R ] dev-lang/python-3.1.3-r1 USE="examples gdbm ipv6 ncurses readline sqlite ssl threads tk (wide-unicode) xml -build -doc -wininst" 0 kB

There is no python2!....

How to add Tkinter support to python2?

4

1 回答 1

1

您是否尝试过明确指定要安装的 Python 版本,例如emerge =python-2.7.2-r2

于 2011-08-02T12:35:13.737 回答