軟體包未安裝在 ubuntu 20.04 ?

軟體包未安裝在 ubuntu 20.04 ?

我正在嘗試在 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

答案2

請按照以下步驟操作,您的問題可能會得到解決。

在此輸入影像描述
(點擊圖片放大)

相關內容