linux Ubuntu解决错误 ImportError: Libtk8.5.so: cannot open shared object file:No such file安装tkinter库

Ubuntu解决错误 ImportError: Libtk8.5.so: cannot open shared object file:No such file安装tkinter库


解决办法

   
一开始想着用pip3安装,但是都出错了,好像pip没有这个库?然后换用

sudo apt-get update
sudo apt-get install python3-tk

   搞定!!!


注: 如果安装过程出错,可以参考我之前的文章添加镜像源处理——Linux Ubuntu修改镜像源


创作不易,各位读者大大看完留个赞和评论再走吧!求求了~

温馨提示   关注不容易让文章走丢哦~


其他linux内容整理见:https://blog.csdn.net/weixin_45386875/article/details/116308755

猜你喜欢

转载自blog.csdn.net/weixin_45386875/article/details/116231825