开发者

how to add Tkinter support to python2 on my gentoo? [closed]

开发者 https://www.devze.com 2023-03-25 19:57 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

The default python version on my gentoo is python2, and the default python installed on gentoo has no Tkinter support. After 开发者_如何学GoI 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?


Have you tried to explicitly specify the Python version you want to install, e.g. emerge =python-2.7.2-r2?

0

精彩评论

暂无评论...
验证码 换一张
取 消