私のLinux Mint 18では、3.5.2の横にPython 3.6.1をインストールしようとしました。これらのコマンドで :Python3 ImportError: '_tkinter'というモジュールがありません
wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
tar xJf Python-3.6.1.tar.xz
cd Python-3.6.1
./configure
make
make install
インストールが正常だったが、今、私はTkinterのをインポートしようとするたびに、私は同じエラーがあります:
>>> from tkinter import tk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/tkinter/__init__.py", line 35, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named '_tkinter'
を私は取り除くためにどのようにさっぱりだがこの問題の解決方法、および3.6.1を削除する
本当に素敵な回答1 –