在Debian 9上安装Python3的Matplotlib时出错

2024-03-29 12:24:34 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试使用Debian8为Python3安装MatPlotLib。pip3 命令请求缺少的依赖项:libfreetype。但是,当我尝试安装这个软件包时会发生这种情况!在

debnub@debhub:~$ sudo apt-get install libfreetype6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libfreetype6-dev : Depends: libfreetype6 (= 2.5.2-3+deb8u2) but 2.
6.3-3.2 is to be installed
E: Unable to correct problems, you have held broken packages.
debnub@debhub:~$

我试过很多不同的解决方法,包括运用能力。在这件事上我有没有遗漏什么?在


Tags: installedtodevyouinformationpackageshavenot