Я не могу установить python-numpy [дубликат]

На этот вопрос уже есть ответ здесь:

У меня Ubuntu 14.04 и я не могу установить numpy.

вот моя попытка:

ohad@ohad-Vostro-3300:~$ sudo apt-get install python-numpy
[sudo] password for ohad: 
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:
 python-numpy : Depends: liblapack3 but it is not going to be installed or
                         liblapack.so.3
E: Unable to correct problems, you have held broken packages.
ohad@ohad-Vostro-3300:~$ sudo apt-get install liblapack3
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:
 liblapack3 : Depends: libgfortran3 (>= 4.6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ohad@ohad-Vostro-3300:~$ 

Спасибо,

0
задан 10 November 2015 в 16:22

2 ответа

Для меня было хорошо установить python-dev пакет прежде.

1
ответ дан 30 September 2019 в 04:59

Войдите в эти две команды:

sudo apt-get clean
sudo apt-get autoclean

Попытка зафиксировать сломанные зависимости:

sudo apt-get -f install
sudo dpkg --configure -a

И входят снова sudo apt-get -f install.

Это должно решить Ваши проблемы зависимости, и Вы можете теперь установить свой пакет.

0
ответ дан 30 September 2019 в 04:59

Другие вопросы по тегам:

Похожие вопросы: