我一直在搜索用于创建自定义按钮的tkinter_custom按钮。这是github示例+图像的链接https://github.com/TomSchimansky/GuitarTuner/tree/master/documentation但我似乎无法下载PIP表示---错误:找不到满足要求的版本tkinter_custom_button(来自版本:none(错误:未找到tkinter_custom_button 的匹配分布
我可能不理解这个问题,但这似乎不是一个有效的PIP包。它只是一个github repo,您可以克隆它,然后将TkinterCustomButton类导入到您的项目文件中。
git clone https://github.com/TomSchimansky/GuitarTuner.git
你可以在这里找到按钮类:
GuitarTuner/documentation/tkinter_custom_button.py