Tag: 蟒蛇2.x

如何在我的泊坞窗图像中安装python-tk

当我在我的泊坞窗图像中运行我的python脚本时,我得到这个错误 ImportError: No module named _tkinter, please install the python-tk package 所以我尝试了“安装python-tk” root@43d2222b15c8:/tf_files# pip install python-tk Collecting python-tk Could not find a version that satisfies the requirement python-tk (from versions: ) No matching distribution found for python-tk 但是这并不能解决我的问题。 你能告诉我如何解决我的问题? 谢谢。