No module named 'tkinter'报错
先试一下apt install python3-tk ,sudo一直报错,去掉sudo一切成功,🤯
sudo apt install python3-tk
报错1:E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
进程中已经有了apt安装,用ps -aux|grep apt查找进程,然后kill掉。
报错2:
Temporary failure resolving
参考这个换源,https://www.cnblogs.com/AaronAndJoe/p/10065333.html