📌  相关文章
📜  从海龟导入 * 文件“usr lib python3.9 turtle.py”,第 107 行,在<module>import tkinter as TK ModuleNotFoundError: No module named &#39;tkinter&#39; - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:28.085000             🧑  作者: Mango

代码示例1
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev python-tk python3-tk tk-dev

cd ~/Downloads
wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
tar -xvf Python-3.8.2.tgz

cd Python-3.8.2