carloscnM1
(usa Debian)
Enviado em 08/05/2017 - 21:35h
Alguém poderia me ajudar, instalei o python pelo pyenv, está instalado a versão 3.6.1, mas não consigo abrir o IDLE, segue o texto do terminal.
~$ idle
Traceback (most recent call last):
File "/home/carlosmario/.pyenv/versions/3.6.1/lib/python3.6/idlelib/pyshell.py", line 4, in <module>
from tkinter import *
File "/home/carlosmario/.pyenv/versions/3.6.1/lib/python3.6/tkinter/__init__.py", line 36, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/carlosmario/.pyenv/versions/3.6.1/bin/idle", line 3, in <module>
from idlelib.pyshell import main
File "/home/carlosmario/.pyenv/versions/3.6.1/lib/python3.6/idlelib/pyshell.py", line 7, in <module>
"Your Python may not be configured for Tk. **", file=sys.__stderr__)
NameError: name 'sys' is not defined