在Windows上为Python3安装tkinter模块

    科技2022-07-17  95

    文章目录

    1. 按2. 操作步骤

    1. 按

    运行

    pip install tkinter

    会提示

    ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none) ERROR: No matching distribution found for tkinter

    我们可以选择在安装Python3时进行勾选安装tkinter模块

    2. 操作步骤

    下载Python3的安装包,我下的时Python3.8.6可以先勾选将Python添加到环境变量中的PATH里,然后点击自定义安装(Customize installation) 勾选td/tk and IDLE即可 其他安装步骤可参考:Python3安装教程
    Processed: 0.009, SQL: 8