Running maskrcnn given: UserWarning:. Currently the using AGG Matplotlib IS, IS A non-Which backend the GUI, SO CAN Not Show The Figure
% get_backend ())
may be added in a first portion of a line of code:
matplotlib.use ( 'TkAgg')
The last show as follows:
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
So attempt to directly install tkinter, a result packet is not found tkinter
linuxidc linuxidc @: ~ $ PIP3 within the install tkinter
So, do the terminal command:
linuxidc linuxidc @: ~ / linuxidc.com $ python3 -m tkinter
linuxidc@linuxidc:~$ sudo apt search python3-tk
linuxidc@linuxidc:~$ sudo apt install python3-tk
After the installation is complete, restart the program and reported the same mistake, the problem still exists.
r If you find information that you need to install the development libraries tk, direct installation:
sudo apt install tk-dev (Ubuntu/Debian)
yum install tk-devel (CentOS)