cv2.Canny(gray, threshold1=30, threshold2=100)
plt.show()UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the
我正在使用IPython笔记本用Python语言创建一个Tk应用程序。我可以制作一个带有文本标签的按钮:import tkinter as tk
button = tk.Button(root, text ='IPython')但是,如果我尝试制作一个带有图像的按钮,我得到一个错误消息。此代码在从命令行运行时运行良好,但在
我尝试在堆栈和许多其他网站上的每一个解决方案。但还是会犯同样的错误。我甚至不能安装它。C:\Users\***\Google Drive\Python>pip install tkinter Could not find a version thatsatisfies the requirement tkinter (from versions: )
No matching distribution found for tkinte