[Newbies] 请问如何查找安装软件所需的依赖?
Tofloor
poster avatar
我心聆听
deepin
2023-01-23 18:07
Author

请问,当安装一个软件时告诉缺少依赖,比如缺少python3-matplotlib。我该如何安装这个依赖?

Reply Favorite View the author
All Replies
谢克辉
deepin
2023-01-23 18:13
#1

sudo apt install python3-matplotlib

Reply View the author
我心聆听
deepin
2023-01-23 18:18
#2
谢克辉

sudo apt install python3-matplotlib

没有 这个包,5555~~~

Reply View the author
谢克辉
deepin
2023-01-23 18:22
#3

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-01-23 18:30
#4
sudo apt update

后试试

Reply View the author
pzm9012
Moderator
2023-01-23 19:03
#5
我心聆听

没有 这个包,5555~~~

看看你的source.list,是不是改成别的源了

而且,请说明一下你是V20还是V23,稳定版还是内测通道好吗

Reply View the author
xia
deepin
2023-01-23 20:58
#6

pip install matplotlib

不行吗?

Reply View the author
fax928
deepin
Q&A Team
2023-01-24 00:04
#7

sudo apt search XXX (查找XXX,是模糊查询吧,包含XXX的都会找出来。)

Reply View the author
我心聆听
deepin
2023-01-24 03:17
#8
谢克辉

谢谢版本没有升级的关系。sudo apt update升级后使用sudo apt install python3-matplotlib,正常下载了。多谢。

Reply View the author
我心聆听
deepin
2023-01-24 03:18
#9
gfdgd_xi
sudo apt update

后试试

多谢,确实我忘升级了!问题解决,谢谢!

Reply View the author
我心聆听
deepin
2023-01-24 03:19
#10
fax928

sudo apt search XXX (查找XXX,是模糊查询吧,包含XXX的都会找出来。)

好的,学习了一个命令。谢谢!

Reply View the author
我心聆听
deepin
2023-01-24 03:20
#11
pzm9012

看看你的source.list,是不是改成别的源了

而且,请说明一下你是V20还是V23,稳定版还是内测通道好吗

我的是20.8。uos也是这个问题,后来用 sudo apt update,后好用了!

Reply View the author
我心聆听
deepin
2023-01-24 03:21
#12
xia

pip install matplotlib

不行吗?

不行,我用 sudo apt update升级后好用的。

Reply View the author
jiutian123
deepin
2023-01-24 19:15
#13
我心聆听

不行,我用 sudo apt update升级后好用的。

刷新,说明库里有,like

Reply View the author
我心聆听
deepin
2023-01-24 19:27
#14
jiutian123

刷新,说明库里有,like

嗯嗯,我用 sudo apt update刷新后,找到了。谢谢

Reply View the author