我正在尝试在 Ubuntu 20.04 中安装 python-3 的 numpy 包。但我收到错误消息:
dell@dell-Inspiron-15-3567:~$ sudo apt install python3-numpy
[sudo] password for dell:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python3-numpy : Depends: libblas3 but it is not going to be installed or
libblas.so.3
Depends: liblapack3 but it is not going to be installed or
liblapack.so.3
wine : Depends: wine1.6
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
dell@dell-Inspiron-15-3567:~$
并且屏幕右上角还出现了一个红色的减号 (-)。下面是我在终端上遇到的问题的图片。
如何解决这个问题?请帮忙。
答案1
您需要安装 libblas3 和 liblapack3。
sudo apt install libblas3
sudo apt install liblapack3