contro opinion
2012-07-01 06:52:55 UTC
1.i have installed tk
2.install python3.1 and python3.2 the sameway
1)download
2)./configure
3)make
4)make install
in my console
tiger at ocean:~$ python3.2
Python 3.2.3 (default, Jul 1 2012, 11:07:14)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.2/tkinter/__init__.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
tiger at ocean:~$ python3.1
Python 3.1.3 (r313:86834, Nov 28 2010, 11:28:10)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20120701/f2250b59/attachment.html>
2.install python3.1 and python3.2 the sameway
1)download
2)./configure
3)make
4)make install
in my console
tiger at ocean:~$ python3.2
Python 3.2.3 (default, Jul 1 2012, 11:07:14)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import tkinter
Traceback (most recent call last):File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.2/tkinter/__init__.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
tiger at ocean:~$ python3.1
Python 3.1.3 (r313:86834, Nov 28 2010, 11:28:10)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import tkinter
what is the matter?-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20120701/f2250b59/attachment.html>