Python - instalacion de python 3 sin tkinter en centos 6.3

 
Vista:

instalacion de python 3 sin tkinter en centos 6.3

Publicado por Jorge Alejandro Molina Cobian (1 intervención) el 24/11/2012 05:47:59
Hola instale python 3 en /opt
Python 3.2.3 (default, Oct 31 2012, 15:27:00)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] 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 "/opt/python3/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

me aparece el siguiente error queria saber por que no puedo importa tkinter si puedo en el python que biene con centos pero es python 2.6... tk esta instalado, no se que archivo de configueracion tengo que modificar en __init__.py

35 import sys
36 if sys.platform == "win32":
37 # Attempt to configure Tcl/Tk without requiring PATH
38 from tkinter import _fix
39 import _tkinter # If this fails your Python may not be configured for Tk
40 TclError = _tkinter.TclError
41 from tkinter.constants import *

aparecen estas cosas no se si tenga que ver con win32 o con que cosa no se puede instalar python3-tk desde centos 6.3.. queria ayuda para compilarlo o resolverlo a mano si alguien me puede ayudar, por favor no dude en hacerlo
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder